다음을 통해 공유


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.