Export (0) Print
Expand All

Counters Class

 

Applies To: SQL Server 2016 Preview

Provides method-level execution counters.

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

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

public static class Counters

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticOutputFormat

Gets or sets the output format.

System_CAPS_pubpropertySystem_CAPS_staticPerfWriters

Gets the collection of writers that the generated report is written to.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticBegin()

Resets counters, initializes a new set, and enables event recording.

System_CAPS_pubmethodSystem_CAPS_staticFinish()

Stops event recording and writes the time report to the registered writers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft