Partilhar via


Método Package.Deserialize (String)

Deserializes a package from the file system.

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

Sintaxe

'Declaração
Public Shared Function Deserialize ( _
    packageFileName As String _
) As Package
'Uso
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

Parâmetros

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

Valor de retorno

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

Comentários

Deserialize throws ArgumentNullException if packageFileName is nulluma referência nula (Nothing no 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.

Consulte também

Referência

Package Classe

Sobrecarregado Deserialize

Namespace Microsoft.MasterDataServices.Deployment