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

TSQLCommand in other namespaces

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

propertyClassOrigin
TSQLCommandALTER_SERVER_CONFIGURATIONALTER_SERVER_CONFIGURATION
TSQLCommandDDL_EVENTSDDL_EVENTS

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

propertyClassOrigin
TSQLCommandADD_ROLE_MEMBERDDL_EVENTS
TSQLCommandADD_SERVER_ROLE_MEMBERDDL_EVENTS
TSQLCommandADD_SIGNATUREDDL_EVENTS
TSQLCommandADD_SIGNATURE_SCHEMA_OBJECTDDL_EVENTS
TSQLCommandALTER_APPLICATION_ROLEDDL_EVENTS
TSQLCommandALTER_ASSEMBLYDDL_EVENTS
TSQLCommandALTER_ASYMMETRIC_KEYDDL_EVENTS
TSQLCommandALTER_AUDITDDL_EVENTS
TSQLCommandALTER_AUTHORIZATION_DATABASEDDL_EVENTS
TSQLCommandALTER_AUTHORIZATION_SERVERDDL_EVENTS
TSQLCommandALTER_AVAILABILITY_GROUPDDL_EVENTS
TSQLCommandALTER_BROKER_PRIORITYDDL_EVENTS
TSQLCommandALTER_CERTIFICATEDDL_EVENTS
TSQLCommandALTER_CREDENTIALDDL_EVENTS
TSQLCommandALTER_CRYPTOGRAPHIC_PROVIDERDDL_EVENTS
TSQLCommandALTER_DATABASEDDL_EVENTS
TSQLCommandALTER_DATABASE_AUDIT_SPECIFICATIONDDL_EVENTS
TSQLCommandALTER_DATABASE_ENCRYPTION_KEYDDL_EVENTS
TSQLCommandALTER_ENDPOINTDDL_EVENTS
TSQLCommandALTER_EVENT_SESSIONDDL_EVENTS
TSQLCommandALTER_EXTENDED_PROPERTYDDL_EVENTS
TSQLCommandALTER_FULLTEXT_CATALOGDDL_EVENTS
TSQLCommandALTER_FULLTEXT_INDEXDDL_EVENTS
TSQLCommandALTER_FULLTEXT_STOPLISTDDL_EVENTS
TSQLCommandALTER_FUNCTIONDDL_EVENTS
TSQLCommandALTER_INDEXDDL_EVENTS
TSQLCommandALTER_INSTANCEDDL_EVENTS
TSQLCommandALTER_LINKED_SERVERDDL_EVENTS
TSQLCommandALTER_LOGINDDL_EVENTS
TSQLCommandALTER_MASTER_KEYDDL_EVENTS
TSQLCommandALTER_MESSAGEDDL_EVENTS
TSQLCommandALTER_MESSAGE_TYPEDDL_EVENTS
TSQLCommandALTER_PARTITION_FUNCTIONDDL_EVENTS
TSQLCommandALTER_PARTITION_SCHEMEDDL_EVENTS
TSQLCommandALTER_PLAN_GUIDEDDL_EVENTS
TSQLCommandALTER_PROCEDUREDDL_EVENTS
TSQLCommandALTER_QUEUEDDL_EVENTS
TSQLCommandALTER_REMOTE_SERVERDDL_EVENTS
TSQLCommandALTER_REMOTE_SERVICE_BINDINGDDL_EVENTS
TSQLCommandALTER_RESOURCE_GOVERNOR_CONFIGDDL_EVENTS
TSQLCommandALTER_RESOURCE_POOLDDL_EVENTS
TSQLCommandALTER_ROLEDDL_EVENTS
TSQLCommandALTER_ROUTEDDL_EVENTS
TSQLCommandALTER_SCHEMADDL_EVENTS
TSQLCommandALTER_SEARCH_PROPERTY_LISTDDL_EVENTS
TSQLCommandALTER_SEQUENCEDDL_EVENTS
TSQLCommandALTER_SERVER_AUDITDDL_EVENTS
TSQLCommandALTER_SERVER_AUDIT_SPECIFICATIONDDL_EVENTS
TSQLCommandALTER_SERVER_ROLEDDL_EVENTS
TSQLCommandALTER_SERVICEDDL_EVENTS
TSQLCommandALTER_SERVICE_MASTER_KEYDDL_EVENTS
TSQLCommandALTER_SYMMETRIC_KEYDDL_EVENTS
TSQLCommandALTER_TABLEDDL_EVENTS
TSQLCommandALTER_TRIGGERDDL_EVENTS
TSQLCommandALTER_USERDDL_EVENTS
TSQLCommandALTER_VIEWDDL_EVENTS
TSQLCommandALTER_WORKLOAD_GROUPDDL_EVENTS
TSQLCommandALTER_XML_SCHEMA_COLLECTIONDDL_EVENTS
TSQLCommandBIND_DEFAULTDDL_EVENTS
TSQLCommandBIND_RULEDDL_EVENTS
TSQLCommandCREATE_APPLICATION_ROLEDDL_EVENTS
TSQLCommandCREATE_ASSEMBLYDDL_EVENTS
TSQLCommandCREATE_ASYMMETRIC_KEYDDL_EVENTS
TSQLCommandCREATE_AUDITDDL_EVENTS
TSQLCommandCREATE_AVAILABILITY_GROUPDDL_EVENTS
TSQLCommandCREATE_BROKER_PRIORITYDDL_EVENTS
TSQLCommandCREATE_CERTIFICATEDDL_EVENTS
TSQLCommandCREATE_CONTRACTDDL_EVENTS
TSQLCommandCREATE_CREDENTIALDDL_EVENTS
TSQLCommandCREATE_CRYPTOGRAPHIC_PROVIDERDDL_EVENTS
TSQLCommandCREATE_DATABASEDDL_EVENTS
TSQLCommandCREATE_DATABASE_AUDIT_SPECIFICATIONDDL_EVENTS
TSQLCommandCREATE_DATABASE_ENCRYPTION_KEYDDL_EVENTS
TSQLCommandCREATE_DEFAULTDDL_EVENTS
TSQLCommandCREATE_ENDPOINTDDL_EVENTS
TSQLCommandCREATE_EVENT_NOTIFICATIONDDL_EVENTS
TSQLCommandCREATE_EVENT_SESSIONDDL_EVENTS
TSQLCommandCREATE_EXTENDED_PROCEDUREDDL_EVENTS
TSQLCommandCREATE_EXTENDED_PROPERTYDDL_EVENTS
TSQLCommandCREATE_FULLTEXT_CATALOGDDL_EVENTS
TSQLCommandCREATE_FULLTEXT_INDEXDDL_EVENTS
TSQLCommandCREATE_FULLTEXT_STOPLISTDDL_EVENTS
TSQLCommandCREATE_FUNCTIONDDL_EVENTS
TSQLCommandCREATE_INDEXDDL_EVENTS
TSQLCommandCREATE_LINKED_SERVERDDL_EVENTS
TSQLCommandCREATE_LINKED_SERVER_LOGINDDL_EVENTS
TSQLCommandCREATE_LOGINDDL_EVENTS
TSQLCommandCREATE_MASTER_KEYDDL_EVENTS
TSQLCommandCREATE_MESSAGEDDL_EVENTS
TSQLCommandCREATE_MESSAGE_TYPEDDL_EVENTS
TSQLCommandCREATE_PARTITION_FUNCTIONDDL_EVENTS
TSQLCommandCREATE_PARTITION_SCHEMEDDL_EVENTS
TSQLCommandCREATE_PLAN_GUIDEDDL_EVENTS
TSQLCommandCREATE_PROCEDUREDDL_EVENTS
TSQLCommandCREATE_QUEUEDDL_EVENTS
TSQLCommandCREATE_REMOTE_SERVERDDL_EVENTS
TSQLCommandCREATE_REMOTE_SERVICE_BINDINGDDL_EVENTS
TSQLCommandCREATE_RESOURCE_POOLDDL_EVENTS
TSQLCommandCREATE_ROLEDDL_EVENTS
TSQLCommandCREATE_ROUTEDDL_EVENTS
TSQLCommandCREATE_RULEDDL_EVENTS
TSQLCommandCREATE_SCHEMADDL_EVENTS
TSQLCommandCREATE_SEARCH_PROPERTY_LISTDDL_EVENTS
TSQLCommandCREATE_SEQUENCEDDL_EVENTS
TSQLCommandCREATE_SERVER_AUDITDDL_EVENTS
TSQLCommandCREATE_SERVER_AUDIT_SPECIFICATIONDDL_EVENTS
TSQLCommandCREATE_SERVER_ROLEDDL_EVENTS
TSQLCommandCREATE_SERVICEDDL_EVENTS
TSQLCommandCREATE_SPATIAL_INDEXDDL_EVENTS
TSQLCommandCREATE_STATISTICSDDL_EVENTS
TSQLCommandCREATE_SYMMETRIC_KEYDDL_EVENTS
TSQLCommandCREATE_SYNONYMDDL_EVENTS
TSQLCommandCREATE_TABLEDDL_EVENTS
TSQLCommandCREATE_TRIGGERDDL_EVENTS
TSQLCommandCREATE_TYPEDDL_EVENTS
TSQLCommandCREATE_USERDDL_EVENTS
TSQLCommandCREATE_VIEWDDL_EVENTS
TSQLCommandCREATE_WORKLOAD_GROUPDDL_EVENTS
TSQLCommandCREATE_XML_INDEXDDL_EVENTS
TSQLCommandCREATE_XML_SCHEMA_COLLECTIONDDL_EVENTS
TSQLCommandDDL_APPLICATION_ROLE_EVENTSDDL_EVENTS
TSQLCommandDDL_ASSEMBLY_EVENTSDDL_EVENTS
TSQLCommandDDL_ASYMMETRIC_KEY_EVENTSDDL_EVENTS
TSQLCommandDDL_AUTHORIZATION_DATABASE_EVENTSDDL_EVENTS
TSQLCommandDDL_AUTHORIZATION_SERVER_EVENTSDDL_EVENTS
TSQLCommandDDL_AVAILABILITY_GROUP_EVENTSDDL_EVENTS
TSQLCommandDDL_BROKER_PRIORITY_EVENTSDDL_EVENTS
TSQLCommandDDL_CERTIFICATE_EVENTSDDL_EVENTS
TSQLCommandDDL_CONTRACT_EVENTSDDL_EVENTS
TSQLCommandDDL_CREDENTIAL_EVENTSDDL_EVENTS
TSQLCommandDDL_CRYPTO_SIGNATURE_EVENTSDDL_EVENTS
TSQLCommandDDL_CRYPTOGRAPHIC_PROVIDER_EVENTSDDL_EVENTS
TSQLCommandDDL_DATABASE_AUDIT_EVENTSDDL_EVENTS
TSQLCommandDDL_DATABASE_AUDIT_SPECIFICATION_EVENTSDDL_EVENTS
TSQLCommandDDL_DATABASE_ENCRYPTION_KEY_EVENTSDDL_EVENTS
TSQLCommandDDL_DATABASE_EVENTSDDL_EVENTS
TSQLCommandDDL_DATABASE_LEVEL_EVENTSDDL_EVENTS
TSQLCommandDDL_DATABASE_SECURITY_EVENTSDDL_EVENTS
TSQLCommandDDL_DEFAULT_EVENTSDDL_EVENTS
TSQLCommandDDL_ENDPOINT_EVENTSDDL_EVENTS
TSQLCommandDDL_EVENT_NOTIFICATION_EVENTSDDL_EVENTS
TSQLCommandDDL_EVENT_SESSION_EVENTSDDL_EVENTS
TSQLCommandDDL_EXTENDED_PROCEDURE_EVENTSDDL_EVENTS
TSQLCommandDDL_EXTENDED_PROPERTY_EVENTSDDL_EVENTS
TSQLCommandDDL_FULLTEXT_CATALOG_EVENTSDDL_EVENTS
TSQLCommandDDL_FULLTEXT_STOPLIST_EVENTSDDL_EVENTS
TSQLCommandDDL_FUNCTION_EVENTSDDL_EVENTS
TSQLCommandDDL_GDR_DATABASE_EVENTSDDL_EVENTS
TSQLCommandDDL_GDR_SERVER_EVENTSDDL_EVENTS
TSQLCommandDDL_INDEX_EVENTSDDL_EVENTS
TSQLCommandDDL_LINKED_SERVER_EVENTSDDL_EVENTS
TSQLCommandDDL_LINKED_SERVER_LOGIN_EVENTSDDL_EVENTS
TSQLCommandDDL_LOGIN_EVENTSDDL_EVENTS
TSQLCommandDDL_MASTER_KEY_EVENTSDDL_EVENTS
TSQLCommandDDL_MESSAGE_EVENTSDDL_EVENTS
TSQLCommandDDL_MESSAGE_TYPE_EVENTSDDL_EVENTS
TSQLCommandDDL_PARTITION_EVENTSDDL_EVENTS
TSQLCommandDDL_PARTITION_FUNCTION_EVENTSDDL_EVENTS
TSQLCommandDDL_PARTITION_SCHEME_EVENTSDDL_EVENTS
TSQLCommandDDL_PLAN_GUIDE_EVENTSDDL_EVENTS
TSQLCommandDDL_PROCEDURE_EVENTSDDL_EVENTS
TSQLCommandDDL_QUEUE_EVENTSDDL_EVENTS
TSQLCommandDDL_REMOTE_SERVER_EVENTSDDL_EVENTS
TSQLCommandDDL_REMOTE_SERVICE_BINDING_EVENTSDDL_EVENTS
TSQLCommandDDL_RESOURCE_GOVERNOR_EVENTSDDL_EVENTS
TSQLCommandDDL_RESOURCE_POOLDDL_EVENTS
TSQLCommandDDL_ROLE_EVENTSDDL_EVENTS
TSQLCommandDDL_ROUTE_EVENTSDDL_EVENTS
TSQLCommandDDL_RULE_EVENTSDDL_EVENTS
TSQLCommandDDL_SCHEMA_EVENTSDDL_EVENTS
TSQLCommandDDL_SEARCH_PROPERTY_LIST_EVENTSDDL_EVENTS
TSQLCommandDDL_SEQUENCE_EVENTSDDL_EVENTS
TSQLCommandDDL_SERVER_AUDIT_EVENTSDDL_EVENTS
TSQLCommandDDL_SERVER_AUDIT_SPECIFICATION_EVENTSDDL_EVENTS
TSQLCommandDDL_SERVER_LEVEL_EVENTSDDL_EVENTS
TSQLCommandDDL_SERVER_SECURITY_EVENTSDDL_EVENTS
TSQLCommandDDL_SERVICE_EVENTSDDL_EVENTS
TSQLCommandDDL_SERVICE_MASTER_KEY_EVENTSDDL_EVENTS
TSQLCommandDDL_SSB_EVENTSDDL_EVENTS
TSQLCommandDDL_STATISTICS_EVENTSDDL_EVENTS
TSQLCommandDDL_SYMMETRIC_KEY_EVENTSDDL_EVENTS
TSQLCommandDDL_SYNONYM_EVENTSDDL_EVENTS
TSQLCommandDDL_TABLE_EVENTSDDL_EVENTS
TSQLCommandDDL_TABLE_VIEW_EVENTSDDL_EVENTS
TSQLCommandDDL_TRIGGER_EVENTSDDL_EVENTS
TSQLCommandDDL_TYPE_EVENTSDDL_EVENTS
TSQLCommandDDL_USER_EVENTSDDL_EVENTS
TSQLCommandDDL_VIEW_EVENTSDDL_EVENTS
TSQLCommandDDL_WORKLOAD_GROUPDDL_EVENTS
TSQLCommandDDL_XML_SCHEMA_COLLECTION_EVENTSDDL_EVENTS
TSQLCommandDENY_DATABASEDDL_EVENTS
TSQLCommandDENY_SERVERDDL_EVENTS
TSQLCommandDROP_APPLICATION_ROLEDDL_EVENTS
TSQLCommandDROP_ASSEMBLYDDL_EVENTS
TSQLCommandDROP_ASYMMETRIC_KEYDDL_EVENTS
TSQLCommandDROP_AUDITDDL_EVENTS
TSQLCommandDROP_AVAILABILITY_GROUPDDL_EVENTS
TSQLCommandDROP_BROKER_PRIORITYDDL_EVENTS
TSQLCommandDROP_CERTIFICATEDDL_EVENTS
TSQLCommandDROP_CONTRACTDDL_EVENTS
TSQLCommandDROP_CREDENTIALDDL_EVENTS
TSQLCommandDROP_CRYPTOGRAPHIC_PROVIDERDDL_EVENTS
TSQLCommandDROP_DATABASEDDL_EVENTS
TSQLCommandDROP_DATABASE_AUDIT_SPECIFICATIONDDL_EVENTS
TSQLCommandDROP_DATABASE_ENCRYPTION_KEYDDL_EVENTS
TSQLCommandDROP_DEFAULTDDL_EVENTS
TSQLCommandDROP_ENDPOINTDDL_EVENTS
TSQLCommandDROP_EVENT_NOTIFICATIONDDL_EVENTS
TSQLCommandDROP_EVENT_SESSIONDDL_EVENTS
TSQLCommandDROP_EXTENDED_PROCEDUREDDL_EVENTS
TSQLCommandDROP_EXTENDED_PROPERTYDDL_EVENTS
TSQLCommandDROP_FULLTEXT_CATALOGDDL_EVENTS
TSQLCommandDROP_FULLTEXT_INDEXDDL_EVENTS
TSQLCommandDROP_FULLTEXT_STOPLISTDDL_EVENTS
TSQLCommandDROP_FUNCTIONDDL_EVENTS
TSQLCommandDROP_INDEXDDL_EVENTS
TSQLCommandDROP_LINKED_SERVERDDL_EVENTS
TSQLCommandDROP_LINKED_SERVER_LOGINDDL_EVENTS
TSQLCommandDROP_LOGINDDL_EVENTS
TSQLCommandDROP_MASTER_KEYDDL_EVENTS
TSQLCommandDROP_MESSAGEDDL_EVENTS
TSQLCommandDROP_MESSAGE_TYPEDDL_EVENTS
TSQLCommandDROP_PARTITION_FUNCTIONDDL_EVENTS
TSQLCommandDROP_PARTITION_SCHEMEDDL_EVENTS
TSQLCommandDROP_PLAN_GUIDEDDL_EVENTS
TSQLCommandDROP_PROCEDUREDDL_EVENTS
TSQLCommandDROP_QUEUEDDL_EVENTS
TSQLCommandDROP_REMOTE_SERVERDDL_EVENTS
TSQLCommandDROP_REMOTE_SERVICE_BINDINGDDL_EVENTS
TSQLCommandDROP_RESOURCE_POOLDDL_EVENTS
TSQLCommandDROP_ROLEDDL_EVENTS
TSQLCommandDROP_ROLE_MEMBERDDL_EVENTS
TSQLCommandDROP_ROUTEDDL_EVENTS
TSQLCommandDROP_RULEDDL_EVENTS
TSQLCommandDROP_SCHEMADDL_EVENTS
TSQLCommandDROP_SEARCH_PROPERTY_LISTDDL_EVENTS
TSQLCommandDROP_SEQUENCEDDL_EVENTS
TSQLCommandDROP_SERVER_AUDITDDL_EVENTS
TSQLCommandDROP_SERVER_AUDIT_SPECIFICATIONDDL_EVENTS
TSQLCommandDROP_SERVER_ROLEDDL_EVENTS
TSQLCommandDROP_SERVER_ROLE_MEMBERDDL_EVENTS
TSQLCommandDROP_SERVICEDDL_EVENTS
TSQLCommandDROP_SIGNATUREDDL_EVENTS
TSQLCommandDROP_SIGNATURE_SCHEMA_OBJECTDDL_EVENTS
TSQLCommandDROP_STATISTICSDDL_EVENTS
TSQLCommandDROP_SYMMETRIC_KEYDDL_EVENTS
TSQLCommandDROP_SYNONYMDDL_EVENTS
TSQLCommandDROP_TABLEDDL_EVENTS
TSQLCommandDROP_TRIGGERDDL_EVENTS
TSQLCommandDROP_TYPEDDL_EVENTS
TSQLCommandDROP_USERDDL_EVENTS
TSQLCommandDROP_VIEWDDL_EVENTS
TSQLCommandDROP_WORKLOAD_GROUPDDL_EVENTS
TSQLCommandDROP_XML_SCHEMA_COLLECTIONDDL_EVENTS
TSQLCommandGRANT_DATABASEDDL_EVENTS
TSQLCommandGRANT_SERVERDDL_EVENTS
TSQLCommandRENAMEDDL_EVENTS
TSQLCommandREVOKE_DATABASEDDL_EVENTS
TSQLCommandREVOKE_SERVERDDL_EVENTS
TSQLCommandUNBIND_DEFAULTDDL_EVENTS
TSQLCommandUNBIND_RULEDDL_EVENTS
TSQLCommandUPDATE_STATISTICSDDL_EVENTS

Code samples for TSQLCommand property

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

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


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