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