Share via


Package.Deserialize Método (String)

Deserializes a package from the file system.

Espacio de nombres:  Microsoft.MasterDataServices.Deployment
Ensamblado:  Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)

Sintaxis

'Declaración
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 devuelto

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

Comentarios

Deserialize throws ArgumentNullException if packageFileName is nulles una referencia NULL (Nothing en 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.

Vea también

Referencia

Package Clase

Sobrecarga de Deserialize

Espacio de nombres Microsoft.MasterDataServices.Deployment