Share via


DacType.Load Method (Stream)

Deserializes the input from a Stream object pointing to a saved DAC type into a DacType object.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Shared Function Load ( _
    stream As Stream _
) As DacType
'Usage
Dim stream As Stream
Dim returnValue As DacType

returnValue = DacType.Load(stream)
public static DacType Load(
    Stream stream
)
public:
static DacType^ Load(
    Stream^ stream
)
static member Load : 
        stream:Stream -> DacType 
public static function Load(
    stream : Stream
) : DacType

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Dac.DacType
A DacType object populated with the DAC type elements from the input stream.