Share via


ModelReader.CreatePackage Method (Boolean)

 

Builds a deployment package for a complete model.

Namespace:   Microsoft.MasterDataServices.Deployment
Assembly:  Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)

Syntax

public Package CreatePackage(
    bool includeData
)
public:
Package^ CreatePackage(
    bool includeData
)
member CreatePackage : 
        includeData:bool -> Package
Public Function CreatePackage (
    includeData As Boolean
) As Package

Parameters

  • includeData
    Type: System.Boolean

    true to master data that will be put in the package; otherwise, false.

Return Value

Type: Microsoft.MasterDataServices.Deployment.Package

A new Package containing the metadata and data for the model specified by the ModelId property.

Remarks

M:Microsoft.MasterDataServices.Deployment.ModelReader.CreatePackage(System.Boolean,System.Boolean) throws DeploymentException if an error occurs validating the created package.

M:Microsoft.MasterDataServices.Deployment.ModelReader.CreatePackage(System.Boolean,System.Boolean) throws ServiceAdapterException if errors were returned from a service call.

See Also

ModelReader Class
Microsoft.MasterDataServices.Deployment Namespace

Return to top