Package.Deserialize Method (MemoryStream)
Deserializes a package from the specified memory stream.
Namespace: Microsoft.MasterDataServices.Deployment
Assembly: Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)
Syntax
'Declaration
Public Shared Function Deserialize ( _
stream As MemoryStream _
) As Package
'Usage
Dim stream As MemoryStream
Dim returnValue As Package
returnValue = Package.Deserialize(stream)
public static Package Deserialize(
MemoryStream stream
)
public:
static Package^ Deserialize(
MemoryStream^ stream
)
static member Deserialize :
stream:MemoryStream -> Package
public static function Deserialize(
stream : MemoryStream
) : Package
Parameters
- stream
Type: System.IO.MemoryStream
The memory stream from which to deserialize a package.
Return Value
Type: Microsoft.MasterDataServices.Deployment.Package
A new instance of type Package.
See Also