EventSequence - property in ROOT\Microsoft\SqlServer\ServerEvents\MSSQLSERVER namespace

EventSequence in other namespaces

List of classes with EventSequence local property in ROOT\Microsoft\SqlServer\ServerEvents\MSSQLSERVER namespace

propertyClassOrigin
EventSequenceTRC_ALL_EVENTSTRC_ALL_EVENTS

List of classes with EventSequence derived property in ROOT\Microsoft\SqlServer\ServerEvents\MSSQLSERVER namespace

propertyClassOrigin
EventSequenceASSEMBLY_LOADTRC_ALL_EVENTS
EventSequenceAUDIT_ADD_DB_USER_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_ADD_LOGIN_TO_SERVER_ROLE_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_ADD_MEMBER_TO_DB_ROLE_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_ADD_ROLE_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_ADDLOGIN_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_APP_ROLE_CHANGE_PASSWORD_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_BACKUP_RESTORE_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_CHANGE_AUDIT_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_CHANGE_DATABASE_OWNERTRC_ALL_EVENTS
EventSequenceAUDIT_DATABASE_MANAGEMENT_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_DATABASE_OBJECT_ACCESS_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_DATABASE_OBJECT_GDR_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_DATABASE_OBJECT_MANAGEMENT_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_DATABASE_OBJECT_TAKE_OWNERSHIP_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_DATABASE_OPERATION_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_DATABASE_PRINCIPAL_IMPERSONATION_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_DATABASE_PRINCIPAL_MANAGEMENT_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_DATABASE_SCOPE_GDR_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_DBCC_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_FULLTEXTTRC_ALL_EVENTS
EventSequenceAUDIT_LOGINTRC_ALL_EVENTS
EventSequenceAUDIT_LOGIN_CHANGE_PASSWORD_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_LOGIN_CHANGE_PROPERTY_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_LOGIN_FAILEDTRC_ALL_EVENTS
EventSequenceAUDIT_LOGIN_GDR_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_LOGOUTTRC_ALL_EVENTS
EventSequenceAUDIT_SCHEMA_OBJECT_ACCESS_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_SCHEMA_OBJECT_GDR_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_SCHEMA_OBJECT_MANAGEMENT_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_SCHEMA_OBJECT_TAKE_OWNERSHIP_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_SERVER_ALTER_TRACE_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_SERVER_OBJECT_GDR_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_SERVER_OBJECT_MANAGEMENT_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_SERVER_OBJECT_TAKE_OWNERSHIP_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_SERVER_OPERATION_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_SERVER_PRINCIPAL_IMPERSONATION_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_SERVER_PRINCIPAL_MANAGEMENT_EVENTTRC_ALL_EVENTS
EventSequenceAUDIT_SERVER_SCOPE_GDR_EVENTTRC_ALL_EVENTS
EventSequenceBITMAP_WARNINGTRC_ALL_EVENTS
EventSequenceBLOCKED_PROCESS_REPORTTRC_ALL_EVENTS
EventSequenceCPU_THRESHOLD_EXCEEDEDTRC_ALL_EVENTS
EventSequenceDATA_FILE_AUTO_GROWTRC_ALL_EVENTS
EventSequenceDATA_FILE_AUTO_SHRINKTRC_ALL_EVENTS
EventSequenceDATABASE_MIRRORING_STATE_CHANGETRC_ALL_EVENTS
EventSequenceDATABASE_SUSPECT_DATA_PAGETRC_ALL_EVENTS
EventSequenceDEADLOCK_GRAPHTRC_ALL_EVENTS
EventSequenceDEPRECATION_ANNOUNCEMENTTRC_ALL_EVENTS
EventSequenceDEPRECATION_FINAL_SUPPORTTRC_ALL_EVENTS
EventSequenceERRORLOGTRC_ALL_EVENTS
EventSequenceEVENTLOGTRC_ALL_EVENTS
EventSequenceEXCEPTIONTRC_ALL_EVENTS
EventSequenceEXCHANGE_SPILL_EVENTTRC_ALL_EVENTS
EventSequenceEXECUTION_WARNINGSTRC_ALL_EVENTS
EventSequenceFT_CRAWL_ABORTEDTRC_ALL_EVENTS
EventSequenceFT_CRAWL_STARTEDTRC_ALL_EVENTS
EventSequenceFT_CRAWL_STOPPEDTRC_ALL_EVENTS
EventSequenceHASH_WARNINGTRC_ALL_EVENTS
EventSequenceLOCK_DEADLOCKTRC_ALL_EVENTS
EventSequenceLOCK_DEADLOCK_CHAINTRC_ALL_EVENTS
EventSequenceLOCK_ESCALATIONTRC_ALL_EVENTS
EventSequenceLOG_FILE_AUTO_GROWTRC_ALL_EVENTS
EventSequenceLOG_FILE_AUTO_SHRINKTRC_ALL_EVENTS
EventSequenceMISSING_COLUMN_STATISTICSTRC_ALL_EVENTS
EventSequenceMISSING_JOIN_PREDICATETRC_ALL_EVENTS
EventSequenceMOUNT_TAPETRC_ALL_EVENTS
EventSequenceOBJECT_ALTEREDTRC_ALL_EVENTS
EventSequenceOBJECT_CREATEDTRC_ALL_EVENTS
EventSequenceOBJECT_DELETEDTRC_ALL_EVENTS
EventSequenceOLEDB_CALL_EVENTTRC_ALL_EVENTS
EventSequenceOLEDB_DATAREAD_EVENTTRC_ALL_EVENTS
EventSequenceOLEDB_ERRORSTRC_ALL_EVENTS
EventSequenceOLEDB_PROVIDER_INFORMATIONTRC_ALL_EVENTS
EventSequenceOLEDB_QUERYINTERFACE_EVENTTRC_ALL_EVENTS
EventSequenceQN__DYNAMICSTRC_ALL_EVENTS
EventSequenceQN__PARAMETER_TABLETRC_ALL_EVENTS
EventSequenceQN__SUBSCRIPTIONTRC_ALL_EVENTS
EventSequenceQN__TEMPLATETRC_ALL_EVENTS
EventSequenceSERVER_MEMORY_CHANGETRC_ALL_EVENTS
EventSequenceSHOWPLAN_ALL_FOR_QUERY_COMPILETRC_ALL_EVENTS
EventSequenceSHOWPLAN_XMLTRC_ALL_EVENTS
EventSequenceSHOWPLAN_XML_FOR_QUERY_COMPILETRC_ALL_EVENTS
EventSequenceSHOWPLAN_XML_STATISTICS_PROFILETRC_ALL_EVENTS
EventSequenceSORT_WARNINGSTRC_ALL_EVENTS
EventSequenceSP_CACHEINSERTTRC_ALL_EVENTS
EventSequenceSP_CACHEMISSTRC_ALL_EVENTS
EventSequenceSP_CACHEREMOVETRC_ALL_EVENTS
EventSequenceSP_RECOMPILETRC_ALL_EVENTS
EventSequenceSQL_STMTRECOMPILETRC_ALL_EVENTS
EventSequenceTRACE_FILE_CLOSETRC_ALL_EVENTS
EventSequenceTRC_CLRTRC_ALL_EVENTS
EventSequenceTRC_DATABASETRC_ALL_EVENTS
EventSequenceTRC_DEPRECATIONTRC_ALL_EVENTS
EventSequenceTRC_ERRORS_AND_WARNINGSTRC_ALL_EVENTS
EventSequenceTRC_FULL_TEXTTRC_ALL_EVENTS
EventSequenceTRC_LOCKSTRC_ALL_EVENTS
EventSequenceTRC_OBJECTSTRC_ALL_EVENTS
EventSequenceTRC_OLEDBTRC_ALL_EVENTS
EventSequenceTRC_PERFORMANCETRC_ALL_EVENTS
EventSequenceTRC_QUERY_NOTIFICATIONSTRC_ALL_EVENTS
EventSequenceTRC_SECURITY_AUDITTRC_ALL_EVENTS
EventSequenceTRC_SERVERTRC_ALL_EVENTS
EventSequenceTRC_STORED_PROCEDURESTRC_ALL_EVENTS
EventSequenceTRC_TSQLTRC_ALL_EVENTS
EventSequenceTRC_USER_CONFIGURABLETRC_ALL_EVENTS
EventSequenceUSER_ERROR_MESSAGETRC_ALL_EVENTS
EventSequenceUSERCONFIGURABLE_0TRC_ALL_EVENTS
EventSequenceUSERCONFIGURABLE_1TRC_ALL_EVENTS
EventSequenceUSERCONFIGURABLE_2TRC_ALL_EVENTS
EventSequenceUSERCONFIGURABLE_3TRC_ALL_EVENTS
EventSequenceUSERCONFIGURABLE_4TRC_ALL_EVENTS
EventSequenceUSERCONFIGURABLE_5TRC_ALL_EVENTS
EventSequenceUSERCONFIGURABLE_6TRC_ALL_EVENTS
EventSequenceUSERCONFIGURABLE_7TRC_ALL_EVENTS
EventSequenceUSERCONFIGURABLE_8TRC_ALL_EVENTS
EventSequenceUSERCONFIGURABLE_9TRC_ALL_EVENTS
EventSequenceXQUERY_STATIC_TYPETRC_ALL_EVENTS

Code samples for EventSequence property

The class EXCHANGE_SPILL_EVENT is abstract and serves only as a base for new classes.

Get a Class as object

Short VB Script code to get the abstract class EXCHANGE_SPILL_EVENT.
See in another language: C#, VB.Net.
'https://wutils.com/wmi/
Dim wmiClass, oProperty
Set wmiClass = GetObject( _
 "WINMGMTS:\\.\ROOT\Microsoft\SqlServer\ServerEvents\MSSQLSERVER:" + _
 "EXCHANGE_SPILL_EVENT")

'get some class property 
Wscript.Echo wmiClass.properties_("EventSequence").Origin 'or other property name, see properties

'Check if the class is singleton
Wscript.Echo wmiClass.Path_.IsSingleton

'Get number of methods in the class
Wscript.Echo wmiClass.Methods_.Count

'List class properties
For Each oProperty In wmiClass.properties_
	'get property name and origin. Property value in the class is null, of course.
	Wscript.Echo oProperty.Name, oProperty.Origin, oProperty.Value
Next 

InstancesOf

List of all instances, wmi class EXCHANGE_SPILL_EVENT.
'https://wutils.com/wmi/
Dim oWMI, Instances, Instance

'Get base WMI object, "." means computer name (local)
Set oWMI = GetObject("WINMGMTS:\\.\ROOT\Microsoft\SqlServer\ServerEvents\MSSQLSERVER")

'Get instances of EXCHANGE_SPILL_EVENT - all instances of this class and derived classes 
Set Instances = oWMI.InstancesOf("EXCHANGE_SPILL_EVENT")


'Enumerate instances  
For Each Instance In Instances 
  'Do something with the instance
  Wscript.Echo Instance.EventSequence 'or other property name
Next 'Instance
comments powered by Disqus
WUtils.com