Inventory Constructor (String, String, String, Boolean, Boolean, ListNetwork) |
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,
List<Network> pNetworks = null
)
Public Sub New (
pServer As String,
pUser As String,
pPassword As String,
Optional pSummary As Boolean = true,
Optional pStorageProfile As Boolean = true,
Optional pNetworks As List(Of Network) = Nothing
)
Parameters
- pServer
- Type: SystemString
Example: https://192.162.90.99/sdk or 192.162.90.99 - 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. - pNetworks (Optional)
- Type: System.Collections.GenericListNetwork
Network configuration e.g. for bandwidth
Remarks
See Also