共用方式為


Serialize 方法 (String)

Serializes the package to the file system.

命名空間:  Microsoft.MasterDataServices.Deployment
組件:  Microsoft.MasterDataServices.Deployment (在 Microsoft.MasterDataServices.Deployment.dll 中)

語法

'宣告
Public Sub Serialize ( _
    packageFileName As String _
)
'用途
Dim instance As Package
Dim packageFileName As String

instance.Serialize(packageFileName)
public void Serialize(
    string packageFileName
)
public:
void Serialize(
    String^ packageFileName
)
member Serialize : 
        packageFileName:string -> unit 
public function Serialize(
    packageFileName : String
)

參數

  • packageFileName
    型別:System. . :: . .String
    Full path and file name specifying where to save the package file.

備註

Serialize throws ArgumentNullException if packageFileName is null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) or empty.

Serialize throws DeploymentException if validation of the package fails.