Share via


TraceReader.IsClosed Property

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

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntax

'Declaration
Public ReadOnly Property IsClosed As Boolean 
    Get
'Usage
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

Property Value

Type: 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.

Implements

IDataReader.IsClosed

Examples

Readme_Tracer

See Also

Reference

TraceReader Class

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Trace Flags (Transact-SQL)

SQL Server Profiler Templates and Permissions