ConnectionManagerBase.GetInstance Method
Gets the WMI server class object that is indicated by the specified path.
Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
'Usage
Dim instance As ConnectionManagerBase
Dim objectPath As String
Dim returnValue As IResultObject
returnValue = instance.GetInstance(objectPath)
Syntax
'Declaration
Public MustOverride Function GetInstance ( _
objectPath As String _
) As IResultObject
public abstract IResultObject GetInstance (
string objectPath
)
public:
virtual IResultObject^ GetInstance (
String^ objectPath
) abstract
public abstract IResultObject GetInstance (
String objectPath
)
public abstract function GetInstance (
objectPath : String
) : IResultObject
Parameters
- objectPath
[in] The path to the WMI server class object.
Return Value
IResultObject interface for getting and setting result object properties.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2003,Windows Vista
See Also
Reference
ConnectionManagerBase Class
ConnectionManagerBase Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
IResultObject