Share via


UIConnectionInfo.LoadFromStream Method

This API supports the infrastructure and is not intended to be used directly from your code.

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Loads a connection from the specified stream.

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
Public Shared Function LoadFromStream ( _
    reader As XmlReader _
) As UIConnectionInfo
'Usage
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

Parameters

Return Value

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