DacProfile.Load Method (Stream)
Create a DacProfile instance by reading serialized profile data from the specified DacProfile.
Namespace: Microsoft.SqlServer.Dac
Assembly: Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)
Syntax
'Declaration
Public Shared Function Load ( _
stream As Stream _
) As DacProfile
'Usage
Dim stream As Stream
Dim returnValue As DacProfile
returnValue = DacProfile.Load(stream)
public static DacProfile Load(
Stream stream
)
public:
static DacProfile^ Load(
Stream^ stream
)
static member Load :
stream:Stream -> DacProfile
public static function Load(
stream : Stream
) : DacProfile
Parameters
- stream
Type: System.IO.Stream
Stream from which to read serialized profile data.
Return Value
Type: Microsoft.SqlServer.Dac.DacProfile
DacProfile instance initialized from the serialized file data.