次の方法で共有


DacProfile.Load Method

Definition

Overloads

Load(Stream)

Create a DacProfile instance by reading serialized profile data from the specified Stream.

Load(String)

Create a DacProfile instance by reading serialized profile data from the specified file.

Load(Stream)

Create a DacProfile instance by reading serialized profile data from the specified Stream.

public static Microsoft.SqlServer.Dac.DacProfile Load (System.IO.Stream stream);
static member Load : System.IO.Stream -> Microsoft.SqlServer.Dac.DacProfile
Public Shared Function Load (stream As Stream) As DacProfile

Parameters

stream
Stream

Stream from which to read serialized profile data.

Returns

DacProfile instance initialized from the serialized file data.

Applies to

Load(String)

Create a DacProfile instance by reading serialized profile data from the specified file.

public static Microsoft.SqlServer.Dac.DacProfile Load (string fileName);
static member Load : string -> Microsoft.SqlServer.Dac.DacProfile
Public Shared Function Load (fileName As String) As DacProfile

Parameters

fileName
String

Path to file with serialized profile data.

Returns

DacProfile instance initialized from the serialized file data.

Applies to