Share via


ContentImporter.CreateDeploymentType Method (String, Object)

 

Creates a DeploymentType object from a content file and a context object.

Namespace:   Microsoft.ConfigurationManagement.ApplicationManagement
Assembly:  Microsoft.ConfigurationManagement.ApplicationManagement (in Microsoft.ConfigurationManagement.ApplicationManagement.dll)

Syntax

public abstract DeploymentType CreateDeploymentType(
    string contentFile,
    object context
)
public:
virtual DeploymentType^ CreateDeploymentType(
    String^ contentFile,
    Object^ context
) abstract
Public MustOverride Function CreateDeploymentType (
    contentFile As String,
    context As Object
) As DeploymentType

Parameters

  • contentFile
    Type: System.String

    Content file to create the deployment from.

  • context
    Type: System.Object

    Context object - connection to local SMS site.

Return Value

Type: Microsoft.ConfigurationManagement.ApplicationManagement.DeploymentType

Returns DeploymentType.

See Also

CreateDeploymentType Overload
ContentImporter Class
Microsoft.ConfigurationManagement.ApplicationManagement Namespace

Return to top