Condividi tramite


Proprietà TraceReplay.Connection

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

Spazio dei nomi  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintassi

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

Valore proprietà

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

Esempi

Readme_Tracer

Vedere anche

Riferimento

TraceReplay Classe

Spazio dei nomi Microsoft.SqlServer.Management.Trace

Altre risorse

Flag di traccia (Transact-SQL)

Modelli e autorizzazioni di SQL Server Profiler