共用方式為


DacProfile.Load 方法 (Stream)

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

命名空間:  Microsoft.SqlServer.Dac
組件:  Microsoft.SqlServer.Dac (在 Microsoft.SqlServer.Dac.dll 中)

語法

'宣告
Public Shared Function Load ( _
    stream As Stream _
) As DacProfile
'用途
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

參數

  • stream
    型別:System.IO.Stream
    Stream from which to read serialized profile data.

傳回值

型別:Microsoft.SqlServer.Dac.DacProfile
DacProfile instance initialized from the serialized file data.

請參閱

參考

DacProfile 類別

Load 多載

Microsoft.SqlServer.Dac 命名空間