다음을 통해 공유


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 네임스페이스