Compartir a través de


ModelReader.CreatePackage Método

Builds a deployment package for a complete model.

Espacio de nombres:  Microsoft.MasterDataServices.Deployment
Ensamblado:  Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)

Sintaxis

'Declaración
Public Function CreatePackage ( _
    includeData As Boolean _
) As Package
'Uso
Dim instance As ModelReader 
Dim includeData As Boolean 
Dim returnValue As Package 

returnValue = instance.CreatePackage(includeData)
public Package CreatePackage(
    bool includeData
)
public:
Package^ CreatePackage(
    bool includeData
)
member CreatePackage : 
        includeData:bool -> Package
public function CreatePackage(
    includeData : boolean
) : Package

Parámetros

  • includeData
    Tipo: System.Boolean
    true to master data that will be put in the package; otherwise, false.

Valor devuelto

Tipo: Microsoft.MasterDataServices.Deployment.Package
A new Package containing the metadata and data for the model specified by the ModelId property.

Comentarios

CreatePackage(Boolean, Boolean) throws DeploymentException if an error occurs validating the created package.

CreatePackage(Boolean, Boolean) throws ServiceAdapterException if errors were returned from a service call.

Vea también

Referencia

ModelReader Clase

Espacio de nombres Microsoft.MasterDataServices.Deployment