TraceReader.IsClosed 属性

Gets the Boolean property value that specifies whether the trace reader is closed.

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

语法

声明
Public ReadOnly Property IsClosed As Boolean 
    Get
用法
Dim instance As TraceReader 
Dim value As Boolean 

value = instance.IsClosed
public bool IsClosed { get; }
public:
virtual property bool IsClosed {
    bool get () sealed;
}
abstract IsClosed : bool 
override IsClosed : bool
final function get IsClosed () : boolean

属性值

类型:System.Boolean
A Boolean value that specifies whether the trace reader is closed.If True, the trace reader is closed.If False (default), the trace reader is open.

实现

IDataReader.IsClosed

示例

Readme_Tracer

请参阅

参考

TraceReader 类

Microsoft.SqlServer.Management.Trace 命名空间

其他资源

跟踪标志 (Transact-SQL)

SQL Server Profiler 模板和权限