Méthode Deserialize (String)
Deserializes a package from the file system.
Espace de noms : Microsoft.MasterDataServices.Deployment
Assembly : Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)
Syntaxe
'Déclaration
Public Shared Function Deserialize ( _
packageFileName As String _
) As Package
'Utilisation
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
Paramètres
- packageFileName
Type : System. . :: . .String
Package full path and file name.
Valeur de retour
Type : Microsoft.MasterDataServices.Deployment. . :: . .Package
A new instance of type Package.
Notes
Deserialize throws ArgumentNullException if packageFileName is null Nothing nullptr unit une référence Null (Nothing dans 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.
Voir aussi