Package.Deserialize 方法 (String)

Deserializes a package from the file system.

命名空间:  Microsoft.MasterDataServices.Deployment
程序集:  Microsoft.MasterDataServices.Deployment(在 Microsoft.MasterDataServices.Deployment.dll 中)

语法

声明
Public Shared Function Deserialize ( _
    packageFileName As String _
) As Package
用法
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

参数

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

返回值

类型:Microsoft.MasterDataServices.Deployment.Package
The deserialized package.

注释

Deserialize throws ArgumentNullException if packageFileName is nullnull 引用(在 Visual Basic 中为 Nothing).

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.

请参阅

参考

Package 类

Deserialize 重载

Microsoft.MasterDataServices.Deployment 命名空间