Freigeben über


TraceReplay.Connection-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntax

'Declaration
Public Property Connection As ConnectionInfoBase 
    Get 
    Set
'Usage
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)

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Common.ConnectionInfoBase
A SqlConnectionInfo object value that specifies the connection with an instance of SQL Server.

Beispiele

Readme_Tracer

Siehe auch

Verweis

TraceReplay Klasse

Microsoft.SqlServer.Management.Trace-Namespace

Andere Ressourcen

Ablaufverfolgungsflags (Transact-SQL)

Vorlagen und Berechtigungen in SQL Server Profiler