Inventory Constructor (String, String, String, Boolean, Boolean, String) |
Initializes a new instance of the
Inventory class.
Constructor with parameter.
Namespace:
VMInfoFace.Interface
Assembly:
VMInfoFace.Interface (in VMInfoFace.Interface.dll) Version: 21.5.28.1 (21.5.28.1171)
Syntaxpublic Inventory(
string pServer,
string pUser,
string pPassword,
bool pSummary = true,
bool pStorageProfile = true,
string pNetworkConfigurationFile = ""
)
Public Sub New (
pServer As String,
pUser As String,
pPassword As String,
Optional pSummary As Boolean = true,
Optional pStorageProfile As Boolean = true,
Optional pNetworkConfigurationFile As String = ""
)
Parameters
- pServer
- Type: SystemString
Example: 192.162.90.99 (note: without - pUser
- Type: SystemString
VMWare vSphere user name - pPassword
- Type: SystemString
VMWare vSphere password - pSummary (Optional)
- Type: SystemBoolean
Read summary (performance) - pStorageProfile (Optional)
- Type: SystemBoolean
Read storage profile (performance). Use PowerShell. - pNetworkConfigurationFile (Optional)
- Type: SystemString
Network configuration file e.g. for bandwidth
Remarks
See Also