Export (0) Print
Expand All

Counters Class

Provides method-level execution counters.

Object
  Microsoft.SqlServer.Management.SqlParser.Diagnostics.Counters

Namespace:  Microsoft.SqlServer.Management.SqlParser.Diagnostics
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public static class Counters

The Counters type exposes the following members.

  NameDescription
Public propertyStatic memberOutputFormatGets or sets the output format.
Public propertyStatic memberPerfWritersGets the collection of writers that the generated report is written to.
Top

  NameDescription
Public methodStatic memberBeginResets counters, initializes a new set, and enables event recording.
Public methodStatic memberFinishStops event recording and writes the time report to the registered writers.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft