Connection プロパティ

SQL Server のインスタンスとの接続を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Trace
アセンブリ:  Microsoft.SqlServer.ConnectionInfoExtended (Microsoft.SqlServer.ConnectionInfoExtended.dll)

構文

'宣言
Public Property Connection As ConnectionInfoBase
    Get
    Set
'使用
Dim instance As TraceReplay
Dim value As ConnectionInfoBase

value = instance.Connection

instance.Connection = value
public ConnectionInfoBase Connection { get; set; }
public:
property ConnectionInfoBase^ Connection {
    ConnectionInfoBase^ get ();
    void set (ConnectionInfoBase^ value);
}
member Connection : ConnectionInfoBase with get, set
function get Connection () : ConnectionInfoBase
function set Connection (value : ConnectionInfoBase)

プロパティ値

型: Microsoft.SqlServer.Management.Common. . :: . .ConnectionInfoBase
SQL Server のインスタンスとの接続を示す SqlConnectionInfo オブジェクトの値です。

使用例

Readme_Tracer