語言

DacProfile.Load 方法

定義

多載

名稱 Description
Load(Stream)

透過讀取指定的Stream序列化剖面資料來建立DacProfile實例。

Load(String)

透過讀取指定檔案中的序列化剖面資料來建立實 DacProfile 例。

Load(Stream)

透過讀取指定的Stream序列化剖面資料來建立DacProfile實例。

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

參數

stream
Stream

串流,從中讀取序列化的剖面資料。

傳回

DacProfile 實例是從序列化的檔案資料中初始化。

適用於

Load(String)

透過讀取指定檔案中的序列化剖面資料來建立實 DacProfile 例。

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

參數

fileName
String

指向序列化剖面資料的檔案路徑。

傳回

DacProfile 實例是從序列化的檔案資料中初始化。

適用於