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
參數
- reader
型別:System.Xml. . :: . .XmlReader
Reads the next code from the stream.
傳回值
型別:Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
The connection that has been loaded.