ModelDeployer.DeployUpdate Method (Package, Boolean, Identifier)

 

Updates the specified model with the contents of the supplied package.

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

Syntax

public Warnings DeployUpdate(
    Package package,
    bool includeData,
    Identifier targetVersionId
)
public:
Warnings^ DeployUpdate(
    Package^ package,
    bool includeData,
    Identifier^ targetVersionId
)
member DeployUpdate : 
        package:Package *
        includeData:bool *
        targetVersionId:Identifier -> Warnings
Public Function DeployUpdate (
    package As Package,
    includeData As Boolean,
    targetVersionId As Identifier
) As Warnings

Parameters

  • includeData
    Type: System.Boolean

    true to deploy the master data in the package; otherwise, false.

  • targetVersion
    The version into which the data is inserted (if included). Can be null if includeData is false.

Return Value

Type: Microsoft.MasterDataServices.Deployment.Warnings

An instance of Warnings that contains the collections of objects to be treated as warnings.

Remarks

DeployUpdate throws ArgumentNullException if the package parameter is null or if the targetVersion parameter is null and the includeData parameter is true.

DeployUpdate throws DeploymentException if an error occurred that was not service-related.

DeployUpdate throws DeploymentOperationException if errors were returned from a service call while rolling back after a failure.

DeployUpdate throws ServiceAdapterException if errors were returned from a service call.

See Also

ModelDeployer Class
Microsoft.MasterDataServices.Deployment Namespace

Return to top