Package.Deserialize-Methode (String)

Deserializes a package from the file system.

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

Syntax

'Declaration
Public Shared Function Deserialize ( _
    packageFileName As String _
) As Package
'Usage
Dim packageFileName As String 
Dim returnValue As Package 

returnValue = Package.Deserialize(packageFileName)
public static Package Deserialize(
    string packageFileName
)
public:
static Package^ Deserialize(
    String^ packageFileName
)
static member Deserialize : 
        packageFileName:string -> Package
public static function Deserialize(
    packageFileName : String
) : Package

Parameter

  • packageFileName
    Typ: System.String
    The package full path and file name.

Rückgabewert

Typ: Microsoft.MasterDataServices.Deployment.Package
The deserialized package.

Hinweise

Deserialize throws ArgumentNullException if packageFileName is nullein NULL-Verweis (Nothing in Visual Basic).

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.

Siehe auch

Verweis

Package Klasse

Deserialize-Überladung

Microsoft.MasterDataServices.Deployment-Namespace