Package.Deserialize Method (String)

 

Deserializes a package from the file system.

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

public static Package Deserialize(
	string packageFileName
)

Parameters

packageFileName
Type: System.String

The package full path and file name.

Return Value

Type: Microsoft.MasterDataServices.Deployment.Package

The deserialized package.

Deserialize throws ArgumentNullException if packageFileName is null.

Deserialize throws DeploymentException if deserialization of the package fails due to invalid package format, or if the file specified by packageFileName is not found, or if validation of the package fails.

Return to top
Show: