TraceReplay.Connection Property
Gets or sets the connection with an instance of Microsoft SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Trace
Сборка: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)
Синтаксис
'Декларация
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)
Значение свойства
A SqlConnectionInfo object value that specifies the connection with an instance of SQL Server.
Замечания
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Пример
Синхронизация потоков
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.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
TraceReplay Class
TraceReplay Members
Microsoft.SqlServer.Management.Trace Namespace
Другие ресурсы
Флаги трассировки (Transact-SQL)
Работа с приложением SQL Server Profiler