Compartilhar via


Método Serialize

Serializes a package to a memory stream.

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

Sintaxe

'Declaração
Public Function Serialize As MemoryStream
'Uso
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

Valor de retorno

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

Comentários

Serialize throws DeploymentException if validation of the package fails.