CreatePackage 方法
Builds a deployment package for a complete model.
命名空間: Microsoft.MasterDataServices.Deployment
組件: Microsoft.MasterDataServices.Deployment (在 Microsoft.MasterDataServices.Deployment.dll 中)
語法
'宣告
Public Function CreatePackage ( _
includeData As Boolean _
) As Package
'用途
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
參數
- includeData
型別:System. . :: . .Boolean
If true, MasterData will be put in the package.
傳回值
型別:Microsoft.MasterDataServices.Deployment. . :: . .Package
A new Package containing the metadata and data for the model specified by the ModelId property.
備註
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.