Compartilhar via


ConnectionManagerBase.CreateEmbeddedObjectInstance Method

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

'Usage
Dim instance As ConnectionManagerBase
Dim objectClass As String
Dim returnValue As IResultObject

returnValue = instance.CreateEmbeddedObjectInstance(objectClass)

Syntax

'Declaration
Public MustOverride Function CreateEmbeddedObjectInstance ( _
    objectClass As String _
) As IResultObject
public abstract IResultObject CreateEmbeddedObjectInstance (
    string objectClass
)
public:
virtual IResultObject^ CreateEmbeddedObjectInstance (
    String^ objectClass
) abstract
public abstract IResultObject CreateEmbeddedObjectInstance (
    String objectClass
)
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

For an example of the use of this method, see How to Create an Operating System Deployment Task Sequence.

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

Other Resources

How to Create an Operating System Deployment Task Sequence