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

Visual Basic
Dim instance As ConnectionManagerBase
Dim objectPath As String
Dim returnValue As IResultObject

returnValue = instance.GetInstance(objectPath)

Syntax

Visual Basic
Public MustOverride Function GetInstance ( _
		objectPath As String _
) As IResultObject
C#
public abstract IResultObject GetInstance (
		string objectPath
)
C++
public:
virtual IResultObject^ GetInstance (
		String^ objectPath
) abstract
J#
public abstract IResultObject GetInstance (
		String objectPath
)
JScript
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