Serialize 方法

Serializes a package to a memory stream.

命名空间:  Microsoft.MasterDataServices.Deployment
程序集:  Microsoft.MasterDataServices.Deployment(在 Microsoft.MasterDataServices.Deployment.dll 中)

语法

声明
Public Function Serialize As MemoryStream
用法
Dim instance As Package
Dim returnValue As MemoryStream

returnValue = instance.Serialize()
public MemoryStream Serialize()
public:
MemoryStream^ Serialize()
member Serialize : unit -> MemoryStream 
public function Serialize() : MemoryStream

返回值

类型:System.IO. . :: . .MemoryStream
A new instance of type MemoryStream containing the serialized Package.

注释

Serialize throws DeploymentException if validation of the package fails.