Compartir a través de


Serialize Método

Serializes a package to a memory stream.

Espacio de nombres:  Microsoft.MasterDataServices.Deployment
Ensamblado:  Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)

Sintaxis

'Declaración
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 devuelto

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

Comentarios

Serialize throws DeploymentException if validation of the package fails.