다음을 통해 공유


Connection 속성

Gets or sets the connection with an instance of SQL Server.

네임스페이스:  Microsoft.SqlServer.Management.Trace
어셈블리:  Microsoft.SqlServer.ConnectionInfoExtended.dll의 Microsoft.SqlServer.ConnectionInfoExtended

구문

‘선언
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
A SqlConnectionInfo object value that specifies the connection with an instance of SQL Server.

예제

Readme_Tracer