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
Package full path and file name.
傳回值
型別:Microsoft.MasterDataServices.Deployment. . :: . .Package
A new instance of type Package.
備註
Deserialize throws ArgumentNullException if packageFileName is null Nothing nullptr unit null 參考 (在 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.