LoadFromStream 方法

此 API 支持 基础结构,但不能通过代码直接使用。

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Loads a connection from the specified stream.

命名空间:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
程序集:  Microsoft.SqlServer.RegSvrEnum(在 Microsoft.SqlServer.RegSvrEnum.dll 中)

语法

声明
Public Shared Function LoadFromStream ( _
    reader As XmlReader _
) As UIConnectionInfo
用法
Dim reader As XmlReader
Dim returnValue As UIConnectionInfo

returnValue = UIConnectionInfo.LoadFromStream(reader)
public static UIConnectionInfo LoadFromStream(
    XmlReader reader
)
public:
static UIConnectionInfo^ LoadFromStream(
    XmlReader^ reader
)
static member LoadFromStream : 
        reader:XmlReader -> UIConnectionInfo 
public static function LoadFromStream(
    reader : XmlReader
) : UIConnectionInfo

参数

返回值

类型:Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
The connection that has been loaded.