Compartir a través de


Connection Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Trace
Ensamblado:  Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintaxis

'Declaración
Public Property Connection As ConnectionInfoBase
    Get
    Set
'Uso
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)

Valor de la propiedad

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

Ejemplos

Readme_Tracer