TraceReplay.Connection 属性

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

命名空间:  Microsoft.SqlServer.Management.Trace
程序集:  Microsoft.SqlServer.ConnectionInfoExtended(在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

语法

声明
Public Property Connection As ConnectionInfoBase 
    Get 
    Set
用法
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)

属性值

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

示例

Readme_Tracer

请参阅

参考

TraceReplay 类

Microsoft.SqlServer.Management.Trace 命名空间

其他资源

跟踪标志 (Transact-SQL)

SQL Server Profiler 模板和权限