Udostępnij przez


Właściwość TraceReplay.Connection

Pobiera lub ustawia połączenie z wystąpienie SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Trace
Zestaw:  Microsoft.SqlServer.ConnectionInfoExtended (w Microsoft.SqlServer.ConnectionInfoExtended.dll)

Składnia

'Deklaracja
Public Property Connection As ConnectionInfoBase
    Get
    Set
'Użycie
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)

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Common.ConnectionInfoBase
A SqlConnectionInfo wartość obiektu, który określa połączenie z wystąpienie SQL Server.

Przykłady

Readme_Tracer