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 命名空间