Freigeben über


Serialize-Methode

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

Rückgabewert

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

Hinweise

Serialize throws DeploymentException if validation of the package fails.