Creates a new instance of the class with the specified name.
Namespace:
Microsoft.ConfigurationManagement.ManagementProvider
Assembly:
Microsoft.ConfigurationManagement.ManagementProvider (in
microsoft.configurationmanagement.managementprovider.dll)
Usage
Syntax
Visual Basic |
Public MustOverride Function CreateInstance ( _
objectClass As String _
) As IResultObject
|
C# |
public abstract IResultObject CreateInstance (
string objectClass
)
|
C++ |
public:
virtual IResultObject^ CreateInstance (
String^ objectClass
) abstract
|
J# |
public abstract IResultObject CreateInstance (
String objectClass
)
|
JScript |
public abstract function CreateInstance (
objectClass : String
) : IResultObject
|
Parameters
- objectClass
-
[in] The name of the class for which to create a new
instance.
Return Value
IResultObject
interface for the class instance.
Remarks
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