Compartir a través de


TraceReplay.Connection Property

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

Espacio de nombres: Microsoft.SqlServer.Management.Trace
Ensamblado: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Sintaxis

'Declaración
Public Property Connection As ConnectionInfoBase
public ConnectionInfoBase Connection { get; set; }
public:
property ConnectionInfoBase^ Connection {
    ConnectionInfoBase^ get ();
    void set (ConnectionInfoBase^ value);
}
/** @property */
public ConnectionInfoBase get_Connection ()

/** @property */
public void set_Connection (ConnectionInfoBase value)
public function get Connection () : ConnectionInfoBase

public function set Connection (value : ConnectionInfoBase)

Valor de propiedad

A SqlConnectionInfo object value that specifies the connection with an instance of SQL Server.

Notas

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Ejemplo

Readme_Tracer

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

TraceReplay Class
TraceReplay Members
Microsoft.SqlServer.Management.Trace Namespace

Otros recursos

Marcas de traza (Transact-SQL)
Usar el Analizador de SQL Server