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.