Метод 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.