Package.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
    The full path and file name specifying where to save the package file.

注释

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

Serialize throws DeploymentException if validation of the package fails.

请参阅

参考

Package 类

Serialize 重载

Microsoft.MasterDataServices.Deployment 命名空间