CimSession.GetInstance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetInstance(String, CimInstance) | |
GetInstance(String, CimInstance, CimOperationOptions) |
GetInstance(String, CimInstance)
public:
Microsoft::Management::Infrastructure::CimInstance ^ GetInstance(System::String ^ namespaceName, Microsoft::Management::Infrastructure::CimInstance ^ instanceId);
public Microsoft.Management.Infrastructure.CimInstance GetInstance (string namespaceName, Microsoft.Management.Infrastructure.CimInstance instanceId);
member this.GetInstance : string * Microsoft.Management.Infrastructure.CimInstance -> Microsoft.Management.Infrastructure.CimInstance
Public Function GetInstance (namespaceName As String, instanceId As CimInstance) As CimInstance
Parameters
- namespaceName
- String
- instanceId
- CimInstance
Returns
Applies to
GetInstance(String, CimInstance, CimOperationOptions)
public:
Microsoft::Management::Infrastructure::CimInstance ^ GetInstance(System::String ^ namespaceName, Microsoft::Management::Infrastructure::CimInstance ^ instanceId, Microsoft::Management::Infrastructure::Options::CimOperationOptions ^ options);
public Microsoft.Management.Infrastructure.CimInstance GetInstance (string namespaceName, Microsoft.Management.Infrastructure.CimInstance instanceId, Microsoft.Management.Infrastructure.Options.CimOperationOptions options);
member this.GetInstance : string * Microsoft.Management.Infrastructure.CimInstance * Microsoft.Management.Infrastructure.Options.CimOperationOptions -> Microsoft.Management.Infrastructure.CimInstance
Public Function GetInstance (namespaceName As String, instanceId As CimInstance, options As CimOperationOptions) As CimInstance
Parameters
- namespaceName
- String
- instanceId
- CimInstance
- options
- CimOperationOptions