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

ApplicationName in other namespaces

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

propertyClassOrigin
ApplicationNameASSEMBLY_LOADASSEMBLY_LOAD
ApplicationNameAUDIT_ADD_DB_USER_EVENTAUDIT_ADD_DB_USER_EVENT
ApplicationNameAUDIT_ADD_LOGIN_TO_SERVER_ROLE_EVENTAUDIT_ADD_LOGIN_TO_SERVER_ROLE_EVENT
ApplicationNameAUDIT_ADD_MEMBER_TO_DB_ROLE_EVENTAUDIT_ADD_MEMBER_TO_DB_ROLE_EVENT
ApplicationNameAUDIT_ADD_ROLE_EVENTAUDIT_ADD_ROLE_EVENT
ApplicationNameAUDIT_ADDLOGIN_EVENTAUDIT_ADDLOGIN_EVENT
ApplicationNameAUDIT_APP_ROLE_CHANGE_PASSWORD_EVENTAUDIT_APP_ROLE_CHANGE_PASSWORD_EVENT
ApplicationNameAUDIT_BACKUP_RESTORE_EVENTAUDIT_BACKUP_RESTORE_EVENT
ApplicationNameAUDIT_CHANGE_AUDIT_EVENTAUDIT_CHANGE_AUDIT_EVENT
ApplicationNameAUDIT_CHANGE_DATABASE_OWNERAUDIT_CHANGE_DATABASE_OWNER
ApplicationNameAUDIT_DATABASE_MANAGEMENT_EVENTAUDIT_DATABASE_MANAGEMENT_EVENT
ApplicationNameAUDIT_DATABASE_OBJECT_ACCESS_EVENTAUDIT_DATABASE_OBJECT_ACCESS_EVENT
ApplicationNameAUDIT_DATABASE_OBJECT_GDR_EVENTAUDIT_DATABASE_OBJECT_GDR_EVENT
ApplicationNameAUDIT_DATABASE_OBJECT_MANAGEMENT_EVENTAUDIT_DATABASE_OBJECT_MANAGEMENT_EVENT
ApplicationNameAUDIT_DATABASE_OBJECT_TAKE_OWNERSHIP_EVENTAUDIT_DATABASE_OBJECT_TAKE_OWNERSHIP_EVENT
ApplicationNameAUDIT_DATABASE_OPERATION_EVENTAUDIT_DATABASE_OPERATION_EVENT
ApplicationNameAUDIT_DATABASE_PRINCIPAL_IMPERSONATION_EVENTAUDIT_DATABASE_PRINCIPAL_IMPERSONATION_EVENT
ApplicationNameAUDIT_DATABASE_PRINCIPAL_MANAGEMENT_EVENTAUDIT_DATABASE_PRINCIPAL_MANAGEMENT_EVENT
ApplicationNameAUDIT_DATABASE_SCOPE_GDR_EVENTAUDIT_DATABASE_SCOPE_GDR_EVENT
ApplicationNameAUDIT_DBCC_EVENTAUDIT_DBCC_EVENT
ApplicationNameAUDIT_LOGINAUDIT_LOGIN
ApplicationNameAUDIT_LOGIN_CHANGE_PASSWORD_EVENTAUDIT_LOGIN_CHANGE_PASSWORD_EVENT
ApplicationNameAUDIT_LOGIN_CHANGE_PROPERTY_EVENTAUDIT_LOGIN_CHANGE_PROPERTY_EVENT
ApplicationNameAUDIT_LOGIN_FAILEDAUDIT_LOGIN_FAILED
ApplicationNameAUDIT_LOGIN_GDR_EVENTAUDIT_LOGIN_GDR_EVENT
ApplicationNameAUDIT_LOGOUTAUDIT_LOGOUT
ApplicationNameAUDIT_SCHEMA_OBJECT_ACCESS_EVENTAUDIT_SCHEMA_OBJECT_ACCESS_EVENT
ApplicationNameAUDIT_SCHEMA_OBJECT_GDR_EVENTAUDIT_SCHEMA_OBJECT_GDR_EVENT
ApplicationNameAUDIT_SCHEMA_OBJECT_MANAGEMENT_EVENTAUDIT_SCHEMA_OBJECT_MANAGEMENT_EVENT
ApplicationNameAUDIT_SCHEMA_OBJECT_TAKE_OWNERSHIP_EVENTAUDIT_SCHEMA_OBJECT_TAKE_OWNERSHIP_EVENT
ApplicationNameAUDIT_SERVER_ALTER_TRACE_EVENTAUDIT_SERVER_ALTER_TRACE_EVENT
ApplicationNameAUDIT_SERVER_OBJECT_GDR_EVENTAUDIT_SERVER_OBJECT_GDR_EVENT
ApplicationNameAUDIT_SERVER_OBJECT_MANAGEMENT_EVENTAUDIT_SERVER_OBJECT_MANAGEMENT_EVENT
ApplicationNameAUDIT_SERVER_OBJECT_TAKE_OWNERSHIP_EVENTAUDIT_SERVER_OBJECT_TAKE_OWNERSHIP_EVENT
ApplicationNameAUDIT_SERVER_OPERATION_EVENTAUDIT_SERVER_OPERATION_EVENT
ApplicationNameAUDIT_SERVER_PRINCIPAL_IMPERSONATION_EVENTAUDIT_SERVER_PRINCIPAL_IMPERSONATION_EVENT
ApplicationNameAUDIT_SERVER_PRINCIPAL_MANAGEMENT_EVENTAUDIT_SERVER_PRINCIPAL_MANAGEMENT_EVENT
ApplicationNameAUDIT_SERVER_SCOPE_GDR_EVENTAUDIT_SERVER_SCOPE_GDR_EVENT
ApplicationNameBITMAP_WARNINGBITMAP_WARNING
ApplicationNameDATA_FILE_AUTO_GROWDATA_FILE_AUTO_GROW
ApplicationNameDATA_FILE_AUTO_SHRINKDATA_FILE_AUTO_SHRINK
ApplicationNameERRORLOGERRORLOG
ApplicationNameEVENTLOGEVENTLOG
ApplicationNameEXCEPTIONEXCEPTION
ApplicationNameEXCHANGE_SPILL_EVENTEXCHANGE_SPILL_EVENT
ApplicationNameEXECUTION_WARNINGSEXECUTION_WARNINGS
ApplicationNameHASH_WARNINGHASH_WARNING
ApplicationNameLOCK_DEADLOCKLOCK_DEADLOCK
ApplicationNameLOCK_ESCALATIONLOCK_ESCALATION
ApplicationNameLOG_FILE_AUTO_GROWLOG_FILE_AUTO_GROW
ApplicationNameLOG_FILE_AUTO_SHRINKLOG_FILE_AUTO_SHRINK
ApplicationNameMISSING_COLUMN_STATISTICSMISSING_COLUMN_STATISTICS
ApplicationNameMISSING_JOIN_PREDICATEMISSING_JOIN_PREDICATE
ApplicationNameMOUNT_TAPEMOUNT_TAPE
ApplicationNameSORT_WARNINGSSORT_WARNINGS
ApplicationNameTRC_DEPRECATIONTRC_DEPRECATION
ApplicationNameTRC_OBJECTSTRC_OBJECTS
ApplicationNameTRC_OLEDBTRC_OLEDB
ApplicationNameTRC_PERFORMANCETRC_PERFORMANCE
ApplicationNameTRC_QUERY_NOTIFICATIONSTRC_QUERY_NOTIFICATIONS
ApplicationNameTRC_STORED_PROCEDURESTRC_STORED_PROCEDURES
ApplicationNameTRC_TSQLTRC_TSQL
ApplicationNameTRC_USER_CONFIGURABLETRC_USER_CONFIGURABLE
ApplicationNameUSER_ERROR_MESSAGEUSER_ERROR_MESSAGE

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

propertyClassOrigin
ApplicationNameDEPRECATION_ANNOUNCEMENTTRC_DEPRECATION
ApplicationNameDEPRECATION_FINAL_SUPPORTTRC_DEPRECATION
ApplicationNameOBJECT_ALTEREDTRC_OBJECTS
ApplicationNameOBJECT_CREATEDTRC_OBJECTS
ApplicationNameOBJECT_DELETEDTRC_OBJECTS
ApplicationNameOLEDB_CALL_EVENTTRC_OLEDB
ApplicationNameOLEDB_DATAREAD_EVENTTRC_OLEDB
ApplicationNameOLEDB_ERRORSTRC_OLEDB
ApplicationNameOLEDB_PROVIDER_INFORMATIONTRC_OLEDB
ApplicationNameOLEDB_QUERYINTERFACE_EVENTTRC_OLEDB
ApplicationNameQN__DYNAMICSTRC_QUERY_NOTIFICATIONS
ApplicationNameQN__PARAMETER_TABLETRC_QUERY_NOTIFICATIONS
ApplicationNameQN__SUBSCRIPTIONTRC_QUERY_NOTIFICATIONS
ApplicationNameQN__TEMPLATETRC_QUERY_NOTIFICATIONS
ApplicationNameSHOWPLAN_ALL_FOR_QUERY_COMPILETRC_PERFORMANCE
ApplicationNameSHOWPLAN_XMLTRC_PERFORMANCE
ApplicationNameSHOWPLAN_XML_FOR_QUERY_COMPILETRC_PERFORMANCE
ApplicationNameSHOWPLAN_XML_STATISTICS_PROFILETRC_PERFORMANCE
ApplicationNameSP_CACHEINSERTTRC_STORED_PROCEDURES
ApplicationNameSP_CACHEMISSTRC_STORED_PROCEDURES
ApplicationNameSP_CACHEREMOVETRC_STORED_PROCEDURES
ApplicationNameSP_RECOMPILETRC_STORED_PROCEDURES
ApplicationNameSQL_STMTRECOMPILETRC_TSQL
ApplicationNameUSERCONFIGURABLE_0TRC_USER_CONFIGURABLE
ApplicationNameUSERCONFIGURABLE_1TRC_USER_CONFIGURABLE
ApplicationNameUSERCONFIGURABLE_2TRC_USER_CONFIGURABLE
ApplicationNameUSERCONFIGURABLE_3TRC_USER_CONFIGURABLE
ApplicationNameUSERCONFIGURABLE_4TRC_USER_CONFIGURABLE
ApplicationNameUSERCONFIGURABLE_5TRC_USER_CONFIGURABLE
ApplicationNameUSERCONFIGURABLE_6TRC_USER_CONFIGURABLE
ApplicationNameUSERCONFIGURABLE_7TRC_USER_CONFIGURABLE
ApplicationNameUSERCONFIGURABLE_8TRC_USER_CONFIGURABLE
ApplicationNameUSERCONFIGURABLE_9TRC_USER_CONFIGURABLE
ApplicationNameXQUERY_STATIC_TYPETRC_TSQL

Code samples for ApplicationName property

The class BITMAP_WARNING 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 BITMAP_WARNING.
See in another language: C#, VB.Net.
'https://wutils.com/wmi/
Dim wmiClass, oProperty
Set wmiClass = GetObject( _
 "WINMGMTS:\\.\ROOT\Microsoft\SqlServer\ServerEvents\MSSQLSERVER:" + _
 "BITMAP_WARNING")

'get some class property 
Wscript.Echo wmiClass.properties_("ApplicationName").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 BITMAP_WARNING.
'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 BITMAP_WARNING - all instances of this class and derived classes 
Set Instances = oWMI.InstancesOf("BITMAP_WARNING")


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