Package.Serialize Method

Serializes a package to a memory stream.

Namespace:  Microsoft.MasterDataServices.Deployment
Assembly:  Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)

Syntax

'Declaration
Public Function Serialize As MemoryStream
'Usage
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

Return Value

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

Remarks

Serialize throws DeploymentException if validation of the package fails.