
//*********************************************************************
//              Copyright (c) Microsoft Corporation.
//
//*********************************************************************

#pragma classflags("forceupdate")
#pragma AUTORECOVER
#pragma namespace("\\\\.\\root\\wmi")

[dynamic: ToInstance, Description("sqlserver"),
    Guid("{655fd93f-3364-40d5-b2ba-330f7ffb6491}"), locale("MS\\0x409")]
class XeSqlPkg: EventTrace
{
	
	[Description ("Enable flags") : amended,
	ValueDescriptions{
		"Events related to SQL Server Service Broker",
		"Events related to SQL Server service operations",
		"Events related to database operations",
		"Events related to cursor operations",
		"Events related to transactions",
		"Events related to disk I/O",
		"Events related to query execution",
		"Events related to exceptions",
		"Events related to the common language runtime",
		"Events related to errors",
		"Events releated to SQL Server Core Security Infrastructure.",
		"Events related to SQL Server indexing",
		"Events related to OLEDB",
		"Events related to SQL Server sessions",
		"Events related to query optimization",
		"Events related to fulltext search",
		"Events related to HADR.",
		"Events related to potential performance problems.",
		"Events related to main memory optimized tables and native compiled procedures.",
		"Events related to the query store."
	} : amended,
	DefineValues{
		"ETW_XESQLPKG_BROKER"
		,
		"ETW_XESQLPKG_SERVER"
		,
		"ETW_XESQLPKG_DATABASE"
		,
		"ETW_XESQLPKG_CURSOR"
		,
		"ETW_XESQLPKG_TRANSACTIONS"
		,
		"ETW_XESQLPKG_IO"
		,
		"ETW_XESQLPKG_EXECUTION"
		,
		"ETW_XESQLPKG_EXCEPTION"
		,
		"ETW_XESQLPKG_CLR"
		,
		"ETW_XESQLPKG_ERRORS"
		,
		"ETW_XESQLPKG_SECURITY"
		,
		"ETW_XESQLPKG_INDEX"
		,
		"ETW_XESQLPKG_OLEDB"
		,
		"ETW_XESQLPKG_SESSION"
		,
		"ETW_XESQLPKG_OPTIMIZATION"
		,
		"ETW_XESQLPKG_FULLTEXT"
		,
		"ETW_XESQLPKG_HADR"
		,
		"ETW_XESQLPKG_WARNINGS"
		,
		"ETW_XESQLPKG_XTP"
		,
		"ETW_XESQLPKG_QUERY_STORE"
		},
	Values{
		"broker",
		"server",
		"database",
		"cursor",
		"transactions",
		"io",
		"execution",
		"exception",
		"clr",
		"errors",
		"security",
		"index",
		"oledb",
		"session",
		"optimization",
		"fulltext",
		"hadr",
		"warnings",
		"xtp",
		"query_store"
		},
	ValueMap{
		"1",
		"2",
		"4",
		"8",
		"16",
		"32",
		"64",
		"128",
		"256",
		"512",
		"1024",
		"2048",
		"4096",
		"8192",
		"16384",
		"32768",
		"65536",
		"131072",
		"262144",
		"524288"
		}
	]
	uint32 Flags;

};

	
[dynamic: ToInstance, Description("Broker activation stored procedure invoked"): Amended,
    Guid("{FA2A4F64-8B9A-4DD3-AD6B-DB3CBD1EC525}"), locale("MS\\0x409"),
    DisplayName("broker_activation_stored_procedure_invoked"): Amended]
class XeSqlPkg_broker_activation_stored_procedure_invoked: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_activation_stored_procedure_invoked: XeSqlPkg_broker_activation_stored_procedure_invoked
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint16 database_id;
};
		
[dynamic: ToInstance, Description("Broker activation stored procedure invoked"): Amended,
    Guid("{FA2A4F64-8B9A-4DD3-AD6B-DB3CBD1EC525}"), locale("MS\\0x409"),
    DisplayName("broker_activation_stored_procedure_invoked"): Amended]
class XeSqlPkg_broker_activation_stored_procedure_invoked: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class broker_activation_stored_procedure_invoked: XeSqlPkg_broker_activation_stored_procedure_invoked
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 database_id;
};
		
[dynamic: ToInstance, Description("Broker activation task limit reached"): Amended,
    Guid("{8E4A6AF5-E2FE-4690-819D-0506ACD1D496}"), locale("MS\\0x409"),
    DisplayName("broker_activation_task_limit_reached"): Amended]
class XeSqlPkg_broker_activation_task_limit_reached: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_activation_task_limit_reached: XeSqlPkg_broker_activation_task_limit_reached
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint16 database_id;
};
		
[dynamic: ToInstance, Description("Broker activation task limit reached"): Amended,
    Guid("{8E4A6AF5-E2FE-4690-819D-0506ACD1D496}"), locale("MS\\0x409"),
    DisplayName("broker_activation_task_limit_reached"): Amended]
class XeSqlPkg_broker_activation_task_limit_reached: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class broker_activation_task_limit_reached: XeSqlPkg_broker_activation_task_limit_reached
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 database_id;
};
		
[dynamic: ToInstance, Description("Broker activation task aborted"): Amended,
    Guid("{E7BB3FAB-2820-4FFF-A15E-ED4C087D8636}"), locale("MS\\0x409"),
    DisplayName("broker_activation_task_aborted"): Amended]
class XeSqlPkg_broker_activation_task_aborted: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_activation_task_aborted: XeSqlPkg_broker_activation_task_aborted
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint16 database_id;
};
		
[dynamic: ToInstance, Description("Broker activation task aborted"): Amended,
    Guid("{E7BB3FAB-2820-4FFF-A15E-ED4C087D8636}"), locale("MS\\0x409"),
    DisplayName("broker_activation_task_aborted"): Amended]
class XeSqlPkg_broker_activation_task_aborted: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class broker_activation_task_aborted: XeSqlPkg_broker_activation_task_aborted
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 database_id;
};
		
[dynamic: ToInstance, Description("Broker activation task started"): Amended,
    Guid("{31B40D53-07DB-4975-A6C9-C2F08F779ADB}"), locale("MS\\0x409"),
    DisplayName("broker_activation_task_started"): Amended]
class XeSqlPkg_broker_activation_task_started: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_activation_task_started: XeSqlPkg_broker_activation_task_started
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint16 database_id;
};
		
[dynamic: ToInstance, Description("Broker activation task started"): Amended,
    Guid("{31B40D53-07DB-4975-A6C9-C2F08F779ADB}"), locale("MS\\0x409"),
    DisplayName("broker_activation_task_started"): Amended]
class XeSqlPkg_broker_activation_task_started: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class broker_activation_task_started: XeSqlPkg_broker_activation_task_started
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 database_id;
};
		
[dynamic: ToInstance, Description("A message was enqueued into a Service Broker transmission body table"): Amended,
    Guid("{414402eb-2340-42e4-8ca3-49b28818bdc9}"), locale("MS\\0x409"),
    DisplayName("broker_dialog_transmission_body_enqueue"): Amended]
class XeSqlPkg_broker_dialog_transmission_body_enqueue: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_dialog_transmission_body_enqueue: XeSqlPkg_broker_dialog_transmission_body_enqueue
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 message_reference;
	[WmiDataId(6), read] uint32 message_reference_count;
};
		
[dynamic: ToInstance, Description("A message was dequeued from a Service Broker transmission body table"): Amended,
    Guid("{8455d3c5-33cb-40a7-b4e3-fea52e08906f}"), locale("MS\\0x409"),
    DisplayName("broker_dialog_transmission_body_dequeue"): Amended]
class XeSqlPkg_broker_dialog_transmission_body_dequeue: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_dialog_transmission_body_dequeue: XeSqlPkg_broker_dialog_transmission_body_dequeue
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 message_reference;
};
		
[dynamic: ToInstance, Description("Occurs when no receive activity is detected on an activated queue with available messages"): Amended,
    Guid("{cdcc277e-3183-4573-a2eb-e0f41502d327}"), locale("MS\\0x409"),
    DisplayName("broker_queue_activation_alert"): Amended]
class XeSqlPkg_broker_queue_activation_alert: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_queue_activation_alert: XeSqlPkg_broker_queue_activation_alert
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 queue_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] uint64 time_since_receive_secs;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Cursor manager cursor begin"): Amended,
    Guid("{A7D9E0EE-88D6-4199-88FF-AEB6C79F7548}"), locale("MS\\0x409"),
    DisplayName("cursor_manager_cursor_begin"): Amended]
class XeSqlPkg_cursor_manager_cursor_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_manager_cursor_begin: XeSqlPkg_cursor_manager_cursor_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 cursor_type;
};
		
[dynamic: ToInstance, Description("Cursor manager cursor end"): Amended,
    Guid("{2CB440D3-BE0E-47C6-80F0-1B5F2C399740}"), locale("MS\\0x409"),
    DisplayName("cursor_manager_cursor_end"): Amended]
class XeSqlPkg_cursor_manager_cursor_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_manager_cursor_end: XeSqlPkg_cursor_manager_cursor_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 cursor_type;
};
		
[dynamic: ToInstance, Description("Cursor manager cursor cache hit"): Amended,
    Guid("{D5C453A1-7F3D-48DA-A8E8-4951C4E2C46F}"), locale("MS\\0x409"),
    DisplayName("cursor_manager_cursor_cache_hit"): Amended]
class XeSqlPkg_cursor_manager_cursor_cache_hit: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_manager_cursor_cache_hit: XeSqlPkg_cursor_manager_cursor_cache_hit
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 cursor_type;
};
		
[dynamic: ToInstance, Description("Cursor manager cached cursor added"): Amended,
    Guid("{B462FBA4-E87C-4948-BCD5-D003049D4AA6}"), locale("MS\\0x409"),
    DisplayName("cursor_manager_cached_cursor_added"): Amended]
class XeSqlPkg_cursor_manager_cached_cursor_added: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_manager_cached_cursor_added: XeSqlPkg_cursor_manager_cached_cursor_added
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 cursor_type;
};
		
[dynamic: ToInstance, Description("Cursor manager cached cursor removed"): Amended,
    Guid("{6726259E-A346-49B8-A9FB-6209FFDECD05}"), locale("MS\\0x409"),
    DisplayName("cursor_manager_cached_cursor_removed"): Amended]
class XeSqlPkg_cursor_manager_cached_cursor_removed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_manager_cached_cursor_removed: XeSqlPkg_cursor_manager_cached_cursor_removed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 cursor_type;
};
		
[dynamic: ToInstance, Description("Cursor manager cursor memory usage"): Amended,
    Guid("{de4e3ac9-5335-4251-a0a0-32d5324ff31a}"), locale("MS\\0x409"),
    DisplayName("cursor_manager_cursor_memory_usage"): Amended]
class XeSqlPkg_cursor_manager_cursor_memory_usage: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_manager_cursor_memory_usage: XeSqlPkg_cursor_manager_cursor_memory_usage
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] sint64 increment;
	[WmiDataId(7), read] uint32 cursor_type;
};
		
[dynamic: ToInstance, Description("Cursor manager cursor worktable use begin"): Amended,
    Guid("{8B13F74B-6053-48F1-AA60-2B7CE645CAA9}"), locale("MS\\0x409"),
    DisplayName("cursor_manager_cursor_worktable_use_begin"): Amended]
class XeSqlPkg_cursor_manager_cursor_worktable_use_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_manager_cursor_worktable_use_begin: XeSqlPkg_cursor_manager_cursor_worktable_use_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 cursor_type;
};
		
[dynamic: ToInstance, Description("Cursor manager cursor worktable use end"): Amended,
    Guid("{91814C0F-0AFA-4DF7-AC96-1C62F888C72F}"), locale("MS\\0x409"),
    DisplayName("cursor_manager_cursor_worktable_use_end"): Amended]
class XeSqlPkg_cursor_manager_cursor_worktable_use_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_manager_cursor_worktable_use_end: XeSqlPkg_cursor_manager_cursor_worktable_use_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 cursor_type;
};
		
[dynamic: ToInstance, Description("Cursor manager cursor plan begin"): Amended,
    Guid("{1D5E385B-A67E-4D94-A5F8-00076AB985C5}"), locale("MS\\0x409"),
    DisplayName("cursor_manager_cursor_plan_begin"): Amended]
class XeSqlPkg_cursor_manager_cursor_plan_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_manager_cursor_plan_begin: XeSqlPkg_cursor_manager_cursor_plan_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 cursor_type;
};
		
[dynamic: ToInstance, Description("Cursor manager cursor plan end"): Amended,
    Guid("{A9267D96-1126-42D2-82FE-EE0BF0B3F900}"), locale("MS\\0x409"),
    DisplayName("cursor_manager_cursor_plan_end"): Amended]
class XeSqlPkg_cursor_manager_cursor_plan_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_manager_cursor_plan_end: XeSqlPkg_cursor_manager_cursor_plan_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 cursor_type;
};
		
[dynamic: ToInstance, Description("Databases bulk copy rows (due to bcp activity)"): Amended,
    Guid("{B77017A7-0C88-4E1C-AA31-7759463FC347}"), locale("MS\\0x409"),
    DisplayName("databases_bulk_copy_rows"): Amended]
class XeSqlPkg_databases_bulk_copy_rows: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class databases_bulk_copy_rows: XeSqlPkg_databases_bulk_copy_rows
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] sint64 increment;
	[WmiDataId(7), read] uint16 database_id;
};
		
[dynamic: ToInstance, Description("Databases bulk copy rows (due to bcp activity)"): Amended,
    Guid("{B77017A7-0C88-4E1C-AA31-7759463FC347}"), locale("MS\\0x409"),
    DisplayName("databases_bulk_copy_rows"): Amended]
class XeSqlPkg_databases_bulk_copy_rows: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class databases_bulk_copy_rows: XeSqlPkg_databases_bulk_copy_rows
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] sint64 increment;
	[WmiDataId(7), read] uint32 database_id;
};
		
[dynamic: ToInstance, Description("Databases bulk copy throughput in KB (due to bcp activity)"): Amended,
    Guid("{C0624AB8-66C2-4928-9E70-0ABF3E7A29B8}"), locale("MS\\0x409"),
    DisplayName("databases_bulk_copy_throughput"): Amended]
class XeSqlPkg_databases_bulk_copy_throughput: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class databases_bulk_copy_throughput: XeSqlPkg_databases_bulk_copy_throughput
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] sint64 increment;
	[WmiDataId(7), read] uint16 database_id;
};
		
[dynamic: ToInstance, Description("Databases bulk copy throughput in KB (due to bcp activity)"): Amended,
    Guid("{C0624AB8-66C2-4928-9E70-0ABF3E7A29B8}"), locale("MS\\0x409"),
    DisplayName("databases_bulk_copy_throughput"): Amended]
class XeSqlPkg_databases_bulk_copy_throughput: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class databases_bulk_copy_throughput: XeSqlPkg_databases_bulk_copy_throughput
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] sint64 increment;
	[WmiDataId(7), read] uint32 database_id;
};
		
[dynamic: ToInstance, Description("Metadata change notification received from the framework"): Amended,
    Guid("{e17ce5d6-58f4-48b1-9ada-c761757d3c4d}"), locale("MS\\0x409"),
    DisplayName("metadata_change_notification_subscriber"): Amended]
class XeSqlPkg_metadata_change_notification_subscriber: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class metadata_change_notification_subscriber: XeSqlPkg_metadata_change_notification_subscriber
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] sint32 entity_id;
	[WmiDataId(7), read] uint32 universal_class;
	[WmiDataId(8), read] uint32 object_type;
	[WmiDataId(9), read] uint32 assembly_id;
	[WmiDataId(10), read] uint32 owner_id;
	[WmiDataId(11), read, 
				XEMapId(72),
				ValueMap { 
					"65535", 
					"2", 
					"64", 
					"16", 
					"8", 
					"32", 
					"0", 
					"1", 
					"4" },
				Values { 
					"x_enet_All", 
					"x_enet_Assembly", 
					"x_enet_CreateIndex", 
					"x_enet_DropIndex", 
					"x_enet_DropStats", 
					"x_enet_MasterKey", 
					"x_enet_NotSet", 
					"x_enet_Object", 
					"x_enet_Type" }
			] uint32 notification_type;
	[WmiDataId(12), read, 
				XEMapId(73),
				ValueMap { 
					"2", 
					"128", 
					"0", 
					"1" },
				Values { 
					"x_enci_Drop", 
					"x_enci_LocalOnly", 
					"x_enci_None", 
					"x_enci_SchemaChange" }
			] uint32 notification_context;
};
		
[dynamic: ToInstance, Description("Database distribution policy is changed"): Amended,
    Guid("{7b1ca531-d204-4a91-acdf-7482e1e5f332}"), locale("MS\\0x409"),
    DisplayName("distribution_db_policy_change"): Amended]
class XeSqlPkg_distribution_db_policy_change: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class distribution_db_policy_change: XeSqlPkg_distribution_db_policy_change
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read, 
				XEMapId(83),
				ValueMap { 
					"0", 
					"2", 
					"4", 
					"1", 
					"3" },
				Values { 
					"Auto", 
					"Hash", 
					"Heap", 
					"None", 
					"Replicate" }
			] uint32 policy_type;
	[WmiDataId(7), read] uint32 leading_cols_num;
};
		
[dynamic: ToInstance, Description("Occurs when a database transaction begins."): Amended,
    Guid("{44CD0D25-8477-40CF-A364-40ACBCD47FCD}"), locale("MS\\0x409"),
    DisplayName("database_transaction_begin"): Amended]
class XeSqlPkg_database_transaction_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class database_transaction_begin: XeSqlPkg_database_transaction_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
};
		
[dynamic: ToInstance, Description("Occurs when a database transaction ends."): Amended,
    Guid("{54FC3C2F-02F5-49D9-A68D-365FB1C30BD6}"), locale("MS\\0x409"),
    DisplayName("database_transaction_end"): Amended]
class XeSqlPkg_database_transaction_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class database_transaction_end: XeSqlPkg_database_transaction_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
};
		
[dynamic: ToInstance, Description("Databases data file size change"): Amended,
    Guid("{9C4949AE-3C00-4A24-9A84-47DECEF6BA07}"), locale("MS\\0x409"),
    DisplayName("databases_data_file_size_changed"): Amended]
class XeSqlPkg_databases_data_file_size_changed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class databases_data_file_size_changed: XeSqlPkg_databases_data_file_size_changed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint16 database_id;
};
		
[dynamic: ToInstance, Description("Databases data file size change"): Amended,
    Guid("{9C4949AE-3C00-4A24-9A84-47DECEF6BA07}"), locale("MS\\0x409"),
    DisplayName("databases_data_file_size_changed"): Amended]
class XeSqlPkg_databases_data_file_size_changed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class databases_data_file_size_changed: XeSqlPkg_databases_data_file_size_changed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 database_id;
};
		
[dynamic: ToInstance, Description("Plan cache cache hit"): Amended,
    Guid("{90CEAB66-0358-4D76-B022-4DD0FBAD297B}"), locale("MS\\0x409"),
    DisplayName("plan_cache_cache_hit"): Amended]
class XeSqlPkg_plan_cache_cache_hit: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class plan_cache_cache_hit: XeSqlPkg_plan_cache_cache_hit
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint64 cache_entry_type;
};
		
[dynamic: ToInstance, Description("SQL statement starting"): Amended,
    Guid("{40BFA6DF-B111-41CD-A1E6-12209E618B8D}"), locale("MS\\0x409"),
    DisplayName("sql_statement_starting"): Amended]
class XeSqlPkg_sql_statement_starting: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sql_statement_starting: XeSqlPkg_sql_statement_starting
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint16 source_database_id;
	[WmiDataId(6), read] uint32 object_id;
	[WmiDataId(7), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(8), read, 
				XEMapId(1),
				ValueMap { 
					"0", 
					"1" },
				Values { 
					"Normal", 
					"Recompiled" }
			] uint32 state;
	[WmiDataId(9), read] sint32 offset;
	[WmiDataId(10), read] sint32 offset_end;
	[WmiDataId(11), read] sint32 nest_level;
};
		
[dynamic: ToInstance, Description("Occurs when a Transact-SQL statement has started."): Amended,
    Guid("{40BFA6DF-B111-41CD-A1E6-12209E618B8D}"), locale("MS\\0x409"),
    DisplayName("sql_statement_starting"): Amended]
class XeSqlPkg_sql_statement_starting: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class sql_statement_starting: XeSqlPkg_sql_statement_starting
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(18),
				ValueMap { 
					"0", 
					"1", 
					"2" },
				Values { 
					"Normal", 
					"Recompiled", 
					"Execution Plan Flush" }
			] uint8 state;
	[WmiDataId(6), read] sint32 line_number;
	[WmiDataId(7), read] sint32 offset;
	[WmiDataId(8), read] sint32 offset_end;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("SQL statement completed"): Amended,
    Guid("{CDFD84F9-184E-49A4-BB71-1614A9D30416}"), locale("MS\\0x409"),
    DisplayName("sql_statement_completed"): Amended]
class XeSqlPkg_sql_statement_completed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sql_statement_completed: XeSqlPkg_sql_statement_completed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint16 source_database_id;
	[WmiDataId(6), read] uint32 object_id;
	[WmiDataId(7), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(8), read] uint32 cpu;
	[WmiDataId(9), read] sint64 duration;
	[WmiDataId(10), read] uint64 reads;
	[WmiDataId(11), read] uint64 writes;
};
		
[dynamic: ToInstance, Description("Occurs when a Transact-SQL statement has completed."): Amended,
    Guid("{CDFD84F9-184E-49A4-BB71-1614A9D30416}"), locale("MS\\0x409"),
    DisplayName("sql_statement_completed"): Amended]
class XeSqlPkg_sql_statement_completed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class sql_statement_completed: XeSqlPkg_sql_statement_completed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint64 duration;
	[WmiDataId(6), read] uint64 cpu_time;
	[WmiDataId(7), read] uint64 physical_reads;
	[WmiDataId(8), read] uint64 logical_reads;
	[WmiDataId(9), read] uint64 writes;
	[WmiDataId(10), read] uint64 row_count;
	[WmiDataId(11), read] uint64 last_row_count;
	[WmiDataId(12), read] sint32 line_number;
	[WmiDataId(13), read] sint32 offset;
	[WmiDataId(14), read] sint32 offset_end;
	[WmiDataId(15), read, StringTermination("NullTerminated"), Format("w")] string statement;
	[WmiDataId(16), read, Extension("Variant")] object parameterized_plan_handle;
};
		
[dynamic: ToInstance, Description("Stored procedure statement starting"): Amended,
    Guid("{2B46B9D3-2E73-4FB9-9D62-01DB82A89CE9}"), locale("MS\\0x409"),
    DisplayName("sp_statement_starting"): Amended]
class XeSqlPkg_sp_statement_starting: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sp_statement_starting: XeSqlPkg_sp_statement_starting
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint16 source_database_id;
	[WmiDataId(6), read] uint32 object_id;
	[WmiDataId(7), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(8), read, 
				XEMapId(1),
				ValueMap { 
					"0", 
					"1" },
				Values { 
					"Normal", 
					"Recompiled" }
			] uint32 state;
	[WmiDataId(9), read] sint32 offset;
	[WmiDataId(10), read] sint32 offset_end;
	[WmiDataId(11), read] sint32 nest_level;
};
		
[dynamic: ToInstance, Description("Occurs when a statement inside a stored procedure has started."): Amended,
    Guid("{2B46B9D3-2E73-4FB9-9D62-01DB82A89CE9}"), locale("MS\\0x409"),
    DisplayName("sp_statement_starting"): Amended]
class XeSqlPkg_sp_statement_starting: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class sp_statement_starting: XeSqlPkg_sp_statement_starting
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 source_database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(8), read, 
				XEMapId(18),
				ValueMap { 
					"0", 
					"1", 
					"2" },
				Values { 
					"Normal", 
					"Recompiled", 
					"Execution Plan Flush" }
			] uint8 state;
	[WmiDataId(9), read] uint16 nest_level;
	[WmiDataId(10), read] sint32 line_number;
	[WmiDataId(11), read] sint32 offset;
	[WmiDataId(12), read] sint32 offset_end;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(14), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("Stored procedure statement completed"): Amended,
    Guid("{EF689B3D-8F37-416F-8A28-49620A604877}"), locale("MS\\0x409"),
    DisplayName("sp_statement_completed"): Amended]
class XeSqlPkg_sp_statement_completed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sp_statement_completed: XeSqlPkg_sp_statement_completed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint16 source_database_id;
	[WmiDataId(6), read] uint32 object_id;
	[WmiDataId(7), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(8), read] uint32 cpu;
	[WmiDataId(9), read] sint64 duration;
	[WmiDataId(10), read] uint64 reads;
	[WmiDataId(11), read] uint64 writes;
};
		
[dynamic: ToInstance, Description("Occurs when a statement inside a stored procedure has completed."): Amended,
    Guid("{EF689B3D-8F37-416F-8A28-49620A604877}"), locale("MS\\0x409"),
    DisplayName("sp_statement_completed"): Amended]
class XeSqlPkg_sp_statement_completed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class sp_statement_completed: XeSqlPkg_sp_statement_completed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 source_database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(8), read] sint64 duration;
	[WmiDataId(9), read] uint64 cpu_time;
	[WmiDataId(10), read] uint64 physical_reads;
	[WmiDataId(11), read] uint64 logical_reads;
	[WmiDataId(12), read] uint64 writes;
	[WmiDataId(13), read] uint64 row_count;
	[WmiDataId(14), read] uint64 last_row_count;
	[WmiDataId(15), read] uint16 nest_level;
	[WmiDataId(16), read] sint32 line_number;
	[WmiDataId(17), read] sint32 offset;
	[WmiDataId(18), read] sint32 offset_end;
	[WmiDataId(19), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(20), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("RPC starting"): Amended,
    Guid("{FD10D08D-6777-41A8-92A9-76F0796EEEB2}"), locale("MS\\0x409"),
    DisplayName("rpc_starting"): Amended]
class XeSqlPkg_rpc_starting: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class rpc_starting: XeSqlPkg_rpc_starting
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
};
		
[dynamic: ToInstance, Description("Occurs when a remote procedure call has started."): Amended,
    Guid("{FD10D08D-6777-41A8-92A9-76F0796EEEB2}"), locale("MS\\0x409"),
    DisplayName("rpc_starting"): Amended]
class XeSqlPkg_rpc_starting: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class rpc_starting: XeSqlPkg_rpc_starting
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(63),
				ValueMap { 
					"1", 
					"2", 
					"0" },
				Values { 
					"KeepDTCXact", 
					"KeepXact", 
					"None" }
			] uint8 connection_reset_option;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string statement;
	[WmiDataId(8), read, Extension("Variant")] object data_stream;
};
		
[dynamic: ToInstance, Description("RPC completed"): Amended,
    Guid("{F1574C94-2B93-4716-A3C1-90F1E1FE2DB8}"), locale("MS\\0x409"),
    DisplayName("rpc_completed"): Amended]
class XeSqlPkg_rpc_completed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class rpc_completed: XeSqlPkg_rpc_completed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 cpu;
	[WmiDataId(6), read] sint64 duration;
	[WmiDataId(7), read] uint64 reads;
	[WmiDataId(8), read] uint64 writes;
};
		
[dynamic: ToInstance, Description("Occurs when a remote procedure call has completed."): Amended,
    Guid("{F1574C94-2B93-4716-A3C1-90F1E1FE2DB8}"), locale("MS\\0x409"),
    DisplayName("rpc_completed"): Amended]
class XeSqlPkg_rpc_completed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class rpc_completed: XeSqlPkg_rpc_completed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 cpu_time;
	[WmiDataId(6), read] uint64 duration;
	[WmiDataId(7), read] uint64 physical_reads;
	[WmiDataId(8), read] uint64 logical_reads;
	[WmiDataId(9), read] uint64 writes;
	[WmiDataId(10), read, 
				XEMapId(32),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3" },
				Values { 
					"OK", 
					"Error", 
					"Abort", 
					"Skipped" }
			] uint8 result;
	[WmiDataId(11), read] uint64 row_count;
	[WmiDataId(12), read, 
				XEMapId(63),
				ValueMap { 
					"1", 
					"2", 
					"0" },
				Values { 
					"KeepDTCXact", 
					"KeepXact", 
					"None" }
			] uint8 connection_reset_option;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(14), read, StringTermination("NullTerminated"), Format("w")] string statement;
	[WmiDataId(15), read, Extension("Variant")] object data_stream;
	[WmiDataId(16), read, StringTermination("NullTerminated"), Format("w")] string output_parameters;
};
		
[dynamic: ToInstance, Description("Plan cache cache attempt"): Amended,
    Guid("{ddb3297b-9ffe-4c90-95f1-a4a26152ccea}"), locale("MS\\0x409"),
    DisplayName("plan_cache_cache_attempt"): Amended]
class XeSqlPkg_plan_cache_cache_attempt: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class plan_cache_cache_attempt: XeSqlPkg_plan_cache_cache_attempt
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint64 cache_entry_type;
};
		
[dynamic: ToInstance, Description("Occurs when an ALTER TABLE ADD column operation results in an UPDATE that affects every row. This event signals a potentially expensive DDL statement."): Amended,
    Guid("{ec0563a2-a531-4024-b274-9abeb62baed4}"), locale("MS\\0x409"),
    DisplayName("alter_table_update_data"): Amended]
class XeSqlPkg_alter_table_update_data: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class alter_table_update_data: XeSqlPkg_alter_table_update_data
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 object_id;
	[WmiDataId(6), read, 
				XEMapId(75),
				ValueMap { 
					"3", 
					"16", 
					"5", 
					"12", 
					"2", 
					"14", 
					"13", 
					"6", 
					"1", 
					"0", 
					"7", 
					"9", 
					"10", 
					"11", 
					"15", 
					"4", 
					"8" },
				Values { 
					"CheckConstraint", 
					"ClrColumn", 
					"DatabaseUpgrade", 
					"EngineEdition", 
					"ForeignKeyConstraint", 
					"IdentityColumn", 
					"InternalException", 
					"LOB", 
					"NoDefaultConstraint", 
					"None", 
					"NotRuntimeConstant", 
					"NullMismatch", 
					"PersistedComputed", 
					"RowSize", 
					"TimestampColumn", 
					"TraceFlag", 
					"TypeConversion" }
			] uint32 reason;
};
		
[dynamic: ToInstance, Description("Cursor manager cursor cache attempt"): Amended,
    Guid("{267d38b8-def7-43ab-9a85-ffd07c53231b}"), locale("MS\\0x409"),
    DisplayName("cursor_manager_cursor_cache_attempt"): Amended]
class XeSqlPkg_cursor_manager_cursor_cache_attempt: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_manager_cursor_cache_attempt: XeSqlPkg_cursor_manager_cursor_cache_attempt
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 count;
	[WmiDataId(6), read] uint32 cursor_type;
};
		
[dynamic: ToInstance, Description("AppDomain ring buffer recorded"): Amended,
    Guid("{012b0b90-febc-45d9-b26c-a4fd19de6cc5}"), locale("MS\\0x409"),
    DisplayName("app_domain_ring_buffer_recorded"): Amended]
class XeSqlPkg_app_domain_ring_buffer_recorded: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class app_domain_ring_buffer_recorded: XeSqlPkg_app_domain_ring_buffer_recorded
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 id;
	[WmiDataId(6), read] uint64 timestamp0;
	[WmiDataId(7), read, Pointer] object  app_domain_address;
	[WmiDataId(8), read] uint16 database_id;
	[WmiDataId(9), read] uint32 owner_id;
	[WmiDataId(10), read] sint32 generation;
	[WmiDataId(11), read] uint32 references;
	[WmiDataId(12), read] uint32 weak_references;
	[WmiDataId(13), read, Pointer] object  task_address;
	[WmiDataId(14), read, StringTermination("NullTerminated"), Format("w")] string action;
	[WmiDataId(15), read, StringTermination("NullTerminated"), Format("w")] string type;
	[WmiDataId(16), read, StringTermination("NullTerminated"), Format("w")] string state;
	[WmiDataId(17), read, Extension("Variant"), XEVLD("callstack")] object call_stack;
};
		
[dynamic: ToInstance, Description("AppDomain ring buffer recorded"): Amended,
    Guid("{012b0b90-febc-45d9-b26c-a4fd19de6cc5}"), locale("MS\\0x409"),
    DisplayName("app_domain_ring_buffer_recorded"): Amended]
class XeSqlPkg_app_domain_ring_buffer_recorded: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class app_domain_ring_buffer_recorded: XeSqlPkg_app_domain_ring_buffer_recorded
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 id;
	[WmiDataId(6), read] uint64 timestamp0;
	[WmiDataId(7), read, Pointer] object  app_domain_address;
	[WmiDataId(8), read] uint32 database_id;
	[WmiDataId(9), read] uint32 owner_id;
	[WmiDataId(10), read] sint32 generation;
	[WmiDataId(11), read] uint32 references;
	[WmiDataId(12), read] uint32 weak_references;
	[WmiDataId(13), read, Pointer] object  task_address;
	[WmiDataId(14), read, StringTermination("NullTerminated"), Format("w")] string action;
	[WmiDataId(15), read, StringTermination("NullTerminated"), Format("w")] string type;
	[WmiDataId(16), read, StringTermination("NullTerminated"), Format("w")] string state;
	[WmiDataId(17), read, Extension("Variant"), XEVLD("callstack")] object call_stack;
};
		
[dynamic: ToInstance, Description("AppDomain ring buffer recorded"): Amended,
    Guid("{767976cf-67f7-4736-90f1-35de8df6ee74}"), locale("MS\\0x409"),
    DisplayName("host_task_ring_buffer_recorded"): Amended]
class XeSqlPkg_host_task_ring_buffer_recorded: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class host_task_ring_buffer_recorded: XeSqlPkg_host_task_ring_buffer_recorded
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 id;
	[WmiDataId(6), read] uint64 timestamp0;
	[WmiDataId(7), read, Pointer] object  host_task_address;
	[WmiDataId(8), read] sint32 thread_affinity_count;
	[WmiDataId(9), read] sint32 leave_runtime_count;
	[WmiDataId(10), read] sint32 non_yielding_count;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string action;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string state;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string abort_state;
	[WmiDataId(14), read, Extension("Variant"), XEVLD("callstack")] object call_stack;
};
		
[dynamic: ToInstance, Description("Error ring buffer recorded"): Amended,
    Guid("{757e6281-b8b7-47b8-bbe0-3d4944fcc16a}"), locale("MS\\0x409"),
    DisplayName("error_ring_buffer_recorded"): Amended]
class XeSqlPkg_error_ring_buffer_recorded: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class error_ring_buffer_recorded: XeSqlPkg_error_ring_buffer_recorded
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 id;
	[WmiDataId(6), read] uint64 timestamp0;
	[WmiDataId(7), read] sint16 session_id;
	[WmiDataId(8), read] uint32 error_code;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string api_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string calling_api_name;
	[WmiDataId(11), read, Extension("Variant"), XEVLD("callstack")] object call_stack;
};
		
[dynamic: ToInstance, Description("Security error ring buffer recorded"): Amended,
    Guid("{3fa43d5f-e52d-44c0-912b-05fe2f77be5e}"), locale("MS\\0x409"),
    DisplayName("security_error_ring_buffer_recorded"): Amended]
class XeSqlPkg_security_error_ring_buffer_recorded: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class security_error_ring_buffer_recorded: XeSqlPkg_security_error_ring_buffer_recorded
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 id;
	[WmiDataId(6), read] uint64 timestamp0;
	[WmiDataId(7), read] sint16 session_id;
	[WmiDataId(8), read] uint32 error_code;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string api_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string calling_api_name;
	[WmiDataId(11), read, Extension("Variant"), XEVLD("callstack")] object call_stack;
};
		
[dynamic: ToInstance, Description("Error has been reported"): Amended,
    Guid("{ee44762d-6e6d-4f0c-bf6b-a16f862f33d4}"), locale("MS\\0x409"),
    DisplayName("error_reported"): Amended]
class XeSqlPkg_error_reported: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class error_reported: XeSqlPkg_error_reported
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 error;
	[WmiDataId(6), read] sint32 severity;
	[WmiDataId(7), read] sint32 state;
	[WmiDataId(8), read] sint8  user_defined;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string message;
};
		
[dynamic: ToInstance, Description("Occurs when an error is reported."): Amended,
    Guid("{ee44762d-6e6d-4f0c-bf6b-a16f862f33d4}"), locale("MS\\0x409"),
    DisplayName("error_reported"): Amended]
class XeSqlPkg_error_reported: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class error_reported: XeSqlPkg_error_reported
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 error_number;
	[WmiDataId(6), read] sint32 severity;
	[WmiDataId(7), read] sint32 state;
	[WmiDataId(8), read] sint8  user_defined;
	[WmiDataId(9), read, 
				XEMapId(60),
				ValueMap { 
					"6", 
					"3", 
					"8", 
					"4", 
					"9", 
					"5", 
					"2", 
					"7" },
				Values { 
					"BACKUP", 
					"FAILOVER", 
					"LAST", 
					"LOGON", 
					"NEXT", 
					"SECAUDIT", 
					"SERVER", 
					"SQLSNMP" }
			] uint8 category;
	[WmiDataId(10), read, 
				XEMapId(80),
				BitMap { 
					"16", 
					"1", 
					"128", 
					"4", 
					"8", 
					"32", 
					"0", 
					"2", 
					"64" },
				BitValues { 
					"BUFFER", 
					"DEFAULT", 
					"DEFAULT_NO_USER", 
					"ERRLOG", 
					"EVENTLOG", 
					"FILE", 
					"NONE", 
					"USER", 
					"USER_WITH_SDS_TRANSLATION" }
			] uint32 destination;
	[WmiDataId(11), read] sint8  is_intercepted;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string message;
};
		
[dynamic: ToInstance, Description("Trace message published"): Amended,
    Guid("{35bb81f9-8858-4bc1-b720-df3324d461b0}"), locale("MS\\0x409"),
    DisplayName("trace_print"): Amended]
class XeSqlPkg_trace_print: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class trace_print: XeSqlPkg_trace_print
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string message;
};
		
[dynamic: ToInstance, Description("Errorlog written"): Amended,
    Guid("{a9130cfe-f0a0-483a-80d7-62582ed8daf7}"), locale("MS\\0x409"),
    DisplayName("errorlog_written"): Amended]
class XeSqlPkg_errorlog_written: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class errorlog_written: XeSqlPkg_errorlog_written
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string message;
};
		
[dynamic: ToInstance, Description("External Key Management external API called"): Amended,
    Guid("{3F800DA0-0B7F-4095-BC41-F3248DA0E90C}"), locale("MS\\0x409"),
    DisplayName("sec_ekm_provider_called"): Amended]
class XeSqlPkg_sec_ekm_provider_called: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sec_ekm_provider_called: XeSqlPkg_sec_ekm_provider_called
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 cred_prov_result;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string cred_prov_name;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string cred_prov_api;
};
		
[dynamic: ToInstance, Description("Start of module execution"): Amended,
    Guid("{594133eb-4253-4b4d-af7d-c7d7f6e272c1}"), locale("MS\\0x409"),
    DisplayName("module_start"): Amended]
class XeSqlPkg_module_start: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class module_start: XeSqlPkg_module_start
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint16 source_database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read, StringTermination("NullTerminated")] string object_type;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string object_name;
};
		
[dynamic: ToInstance, Description("Start of module execution"): Amended,
    Guid("{594133eb-4253-4b4d-af7d-c7d7f6e272c1}"), locale("MS\\0x409"),
    DisplayName("module_start"): Amended]
class XeSqlPkg_module_start: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class module_start: XeSqlPkg_module_start
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 source_database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read] sint32 line_number;
	[WmiDataId(8), read] sint32 offset;
	[WmiDataId(9), read] sint32 offset_end;
	[WmiDataId(10), read, StringTermination("NullTerminated")] string object_type;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("End of module execution"): Amended,
    Guid("{b4b44aca-4a04-47af-beee-0928ac02dd88}"), locale("MS\\0x409"),
    DisplayName("module_end"): Amended]
class XeSqlPkg_module_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class module_end: XeSqlPkg_module_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint16 source_database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read] uint64 duration;
	[WmiDataId(8), read] uint64 row_count;
	[WmiDataId(9), read, StringTermination("NullTerminated")] string object_type;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string object_name;
};
		
[dynamic: ToInstance, Description("End of module execution"): Amended,
    Guid("{b4b44aca-4a04-47af-beee-0928ac02dd88}"), locale("MS\\0x409"),
    DisplayName("module_end"): Amended]
class XeSqlPkg_module_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class module_end: XeSqlPkg_module_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 source_database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read] uint64 duration;
	[WmiDataId(8), read] uint64 row_count;
	[WmiDataId(9), read] sint32 line_number;
	[WmiDataId(10), read] sint32 offset;
	[WmiDataId(11), read] sint32 offset_end;
	[WmiDataId(12), read, StringTermination("NullTerminated")] string object_type;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(14), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("FILESTREAM file I/O streaming access request"): Amended,
    Guid("{c4d2f45a-c4d5-4198-b0fe-033e8fc57ce6}"), locale("MS\\0x409"),
    DisplayName("filestream_file_io_request"): Amended]
class XeSqlPkg_filestream_file_io_request: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class filestream_file_io_request: XeSqlPkg_filestream_file_io_request
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string workitem_description;
	[WmiDataId(6), read, Extension("Variant")] object transaction_id;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string correlation_ids;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string logical_path;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string physical_path;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string original_path;
};
		
[dynamic: ToInstance, Description("Response to a FILESTREAM file I/O streaming access request"): Amended,
    Guid("{d083ca0c-9dd9-46d5-9626-f9ae2b8400b8}"), locale("MS\\0x409"),
    DisplayName("filestream_file_io_response"): Amended]
class XeSqlPkg_filestream_file_io_response: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class filestream_file_io_response: XeSqlPkg_filestream_file_io_response
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 status;
	[WmiDataId(6), read] sint8  satisfied;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string workitem_description;
	[WmiDataId(8), read, Extension("Variant")] object transaction_id;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string correlation_ids;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string logical_path;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string physical_path;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string original_path;
};
		
[dynamic: ToInstance, Description("FILESTREAM file I/O streaming access failure"): Amended,
    Guid("{af723f47-22b2-4433-bbf0-cb437d211b17}"), locale("MS\\0x409"),
    DisplayName("filestream_file_io_failure"): Amended]
class XeSqlPkg_filestream_file_io_failure: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class filestream_file_io_failure: XeSqlPkg_filestream_file_io_failure
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 hresult;
	[WmiDataId(6), read, Extension("Guid")] guid location;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string description;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string message;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string workitem_description;
	[WmiDataId(10), read, Extension("Variant")] object transaction_id;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string correlation_ids;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string logical_path;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string physical_path;
	[WmiDataId(14), read, StringTermination("NullTerminated"), Format("w")] string original_path;
};
		
[dynamic: ToInstance, Description("FILESTREAM file I/O streaming access tracing information"): Amended,
    Guid("{d9282fce-5998-4472-9232-21efde7ee4f2}"), locale("MS\\0x409"),
    DisplayName("filestream_file_io_trace"): Amended]
class XeSqlPkg_filestream_file_io_trace: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class filestream_file_io_trace: XeSqlPkg_filestream_file_io_trace
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 component;
	[WmiDataId(6), read, Extension("Guid")] guid location;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string message;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string workitem_description;
	[WmiDataId(9), read, Extension("Variant")] object transaction_id;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string correlation_ids;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string logical_path;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string physical_path;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string original_path;
};
		
[dynamic: ToInstance, Description("FILESTREAM file I/O streaming access dump"): Amended,
    Guid("{0d607346-32e4-4943-98e0-deebf3a050ef}"), locale("MS\\0x409"),
    DisplayName("filestream_file_io_dump"): Amended]
class XeSqlPkg_filestream_file_io_dump: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class filestream_file_io_dump: XeSqlPkg_filestream_file_io_dump
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string description;
	[WmiDataId(6), read, Extension("Variant")] object data;
};
		
[dynamic: ToInstance, Description("Occurs when a write completion for a FILESTREAM file is received."): Amended,
    Guid("{C7512043-EDDB-4a06-B72D-2D4337D0325A}"), locale("MS\\0x409"),
    DisplayName("filestream_file_write_completion"): Amended]
class XeSqlPkg_filestream_file_write_completion: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class filestream_file_write_completion: XeSqlPkg_filestream_file_write_completion
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint16 completion_count;
	[WmiDataId(6), read, Extension("Variant")] object offsets;
	[WmiDataId(7), read, Extension("Variant")] object sizes;
};
		
[dynamic: ToInstance, Description("Broker transmission delivery state machine event end"): Amended,
    Guid("{5B0108E6-BB06-487e-8AC2-8BE59B026649}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_deliverysm_event_end"): Amended]
class XeSqlPkg_broker_transmission_deliverysm_event_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_deliverysm_event_end: XeSqlPkg_broker_transmission_deliverysm_event_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, 
				XEMapId(44),
				ValueMap { 
					"5", 
					"0", 
					"1", 
					"11", 
					"9", 
					"12", 
					"4", 
					"3", 
					"10", 
					"8", 
					"2", 
					"6", 
					"7" },
				Values { 
					"DeliveryTimerExpired", 
					"DialogEndpointDeleted", 
					"EnqueuedMessages", 
					"MaxEvent", 
					"NoEnqueuedMessages", 
					"NoEvent", 
					"ReceivedFullAck", 
					"ReceivedProgressiveAck", 
					"SendAck", 
					"SendCompletion", 
					"SendError", 
					"SendMessages", 
					"SentMessages" }
			] sint32 event;
	[WmiDataId(10), read, 
				XEMapId(45),
				ValueMap { 
					"6", 
					"0", 
					"8", 
					"5", 
					"7", 
					"4", 
					"3", 
					"1", 
					"2" },
				Values { 
					"BadState", 
					"Idle", 
					"Ignore", 
					"MaxState", 
					"NoStateChange", 
					"Resending_Sending", 
					"Resending_Waiting", 
					"Sending", 
					"SendingAck" }
			] sint32 state;
	[WmiDataId(11), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission timer set"): Amended,
    Guid("{C1F40843-FAB3-425f-A1D3-8460C27E2D51}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_timer_set"): Amended]
class XeSqlPkg_broker_transmission_timer_set: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_timer_set: XeSqlPkg_broker_transmission_timer_set
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, 
				XEMapId(47),
				ValueMap { 
					"2", 
					"1", 
					"0", 
					"3" },
				Values { 
					"Delivery", 
					"OutgoingAck", 
					"OutOfOrderWatch", 
					"x_NumTransmissionTimer" }
			] sint32 timer;
	[WmiDataId(10), read] uint32 expires;
	[WmiDataId(11), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission timer reset"): Amended,
    Guid("{723A69C4-BA2A-4d3a-918B-C197FE8CCF8D}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_timer_reset"): Amended]
class XeSqlPkg_broker_transmission_timer_reset: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_timer_reset: XeSqlPkg_broker_transmission_timer_reset
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, 
				XEMapId(47),
				ValueMap { 
					"2", 
					"1", 
					"0", 
					"3" },
				Values { 
					"Delivery", 
					"OutgoingAck", 
					"OutOfOrderWatch", 
					"x_NumTransmissionTimer" }
			] sint32 timer;
	[WmiDataId(10), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission timer fire"): Amended,
    Guid("{1DC58D44-47C8-49f2-833E-540AA0A1A8DF}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_timer_fire"): Amended]
class XeSqlPkg_broker_transmission_timer_fire: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_timer_fire: XeSqlPkg_broker_transmission_timer_fire
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, 
				XEMapId(47),
				ValueMap { 
					"2", 
					"1", 
					"0", 
					"3" },
				Values { 
					"Delivery", 
					"OutgoingAck", 
					"OutOfOrderWatch", 
					"x_NumTransmissionTimer" }
			] sint32 timer;
	[WmiDataId(10), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission lazyflusher submit"): Amended,
    Guid("{AD345406-6D1B-4fef-854F-E2636D90EF29}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_lazyflusher_submit"): Amended]
class XeSqlPkg_broker_transmission_lazyflusher_submit: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_lazyflusher_submit: XeSqlPkg_broker_transmission_lazyflusher_submit
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission lazyflusher processing begin"): Amended,
    Guid("{EDA910EE-4977-4a8f-8C30-E9B83EC7A7D1}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_lazyflusher_processing_begin"): Amended]
class XeSqlPkg_broker_transmission_lazyflusher_processing_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_lazyflusher_processing_begin: XeSqlPkg_broker_transmission_lazyflusher_processing_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
};
		
[dynamic: ToInstance, Description("Broker transmission lazyflusher processing end"): Amended,
    Guid("{D4E1634B-AEBF-4903-93AC-EAFBF5960D1E}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_lazyflusher_processing_end"): Amended]
class XeSqlPkg_broker_transmission_lazyflusher_processing_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_lazyflusher_processing_end: XeSqlPkg_broker_transmission_lazyflusher_processing_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 objects_flushed;
	[WmiDataId(6), read] uint32 sleep_time;
};
		
[dynamic: ToInstance, Description("Broker transmission timer armed"): Amended,
    Guid("{37DE02F2-53F8-4fca-A7DE-42E73553790C}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_timer_armed"): Amended]
class XeSqlPkg_broker_transmission_timer_armed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_timer_armed: XeSqlPkg_broker_transmission_timer_armed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, 
				XEMapId(47),
				ValueMap { 
					"2", 
					"1", 
					"0", 
					"3" },
				Values { 
					"Delivery", 
					"OutgoingAck", 
					"OutOfOrderWatch", 
					"x_NumTransmissionTimer" }
			] sint32 timer;
	[WmiDataId(10), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission lazyflusher remove"): Amended,
    Guid("{F6BBBA99-AC48-4fec-B67D-F3201A57AA87}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_lazyflusher_remove"): Amended]
class XeSqlPkg_broker_transmission_lazyflusher_remove: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_lazyflusher_remove: XeSqlPkg_broker_transmission_lazyflusher_remove
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission object load"): Amended,
    Guid("{F8343218-1075-4455-B8C0-B74CE41749F4}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_object_get"): Amended]
class XeSqlPkg_broker_transmission_object_get: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_object_get: XeSqlPkg_broker_transmission_object_get
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read] sint8  is_from_worktable;
	[WmiDataId(10), read] sint8  is_new_object;
	[WmiDataId(11), read] sint8  is_get_only;
	[WmiDataId(12), read] sint8  exception_occurred;
	[WmiDataId(13), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission object worktable load begin"): Amended,
    Guid("{33C17FB7-D393-46ec-8064-890F741FDEEC}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_object_worktable_load_begin"): Amended]
class XeSqlPkg_broker_transmission_object_worktable_load_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_object_worktable_load_begin: XeSqlPkg_broker_transmission_object_worktable_load_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission object worktable load end"): Amended,
    Guid("{FF994DCD-70EF-44fb-99F4-A0A40E846385}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_object_worktable_load_end"): Amended]
class XeSqlPkg_broker_transmission_object_worktable_load_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_object_worktable_load_end: XeSqlPkg_broker_transmission_object_worktable_load_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read, 
				XEMapId(48),
				ValueMap { 
					"2", 
					"1", 
					"0" },
				Values { 
					"Exception", 
					"NotFound", 
					"Success" }
			] sint32 result;
	[WmiDataId(9), read] uint64 unique_id;
	[WmiDataId(10), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission object worktable save begin"): Amended,
    Guid("{F8717D11-2297-419e-A3D4-8AE8CFAF2970}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_object_worktable_save_begin"): Amended]
class XeSqlPkg_broker_transmission_object_worktable_save_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_object_worktable_save_begin: XeSqlPkg_broker_transmission_object_worktable_save_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission object worktable save end"): Amended,
    Guid("{3C0E72DF-0ACB-4ac8-851A-184F575A7001}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_object_worktable_save_end"): Amended]
class XeSqlPkg_broker_transmission_object_worktable_save_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_object_worktable_save_end: XeSqlPkg_broker_transmission_object_worktable_save_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read] sint8  is_saved;
	[WmiDataId(10), read] sint8  is_new_record;
	[WmiDataId(11), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission object worktable save end"): Amended,
    Guid("{8E5C5DBF-A3E6-47f1-BA24-DF70F9CA5F02}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_object_delete_begin"): Amended]
class XeSqlPkg_broker_transmission_object_delete_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_object_delete_begin: XeSqlPkg_broker_transmission_object_delete_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission object worktable save end"): Amended,
    Guid("{D02F2C7A-F454-46e1-ADF1-2A2A320E1CEF}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_object_delete_end"): Amended]
class XeSqlPkg_broker_transmission_object_delete_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_object_delete_end: XeSqlPkg_broker_transmission_object_delete_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read] sint8  removed_from_worktable;
	[WmiDataId(10), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmitter reclassification phase begin"): Amended,
    Guid("{B3DD1F49-9864-4ffe-8DF3-3264546A2CFD}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_reclassification_phase_begin"): Amended]
class XeSqlPkg_broker_transmitter_reclassification_phase_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_reclassification_phase_begin: XeSqlPkg_broker_transmitter_reclassification_phase_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(54),
				ValueMap { 
					"1", 
					"0", 
					"2" },
				Values { 
					"Process", 
					"Select", 
					"Verify" }
			] uint32 phase;
};
		
[dynamic: ToInstance, Description("Broker transmitter reclassification phase end"): Amended,
    Guid("{01120624-30B0-4fbf-8DFD-4703C8D48565}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_reclassification_phase_end"): Amended]
class XeSqlPkg_broker_transmitter_reclassification_phase_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_reclassification_phase_end: XeSqlPkg_broker_transmitter_reclassification_phase_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(54),
				ValueMap { 
					"1", 
					"0", 
					"2" },
				Values { 
					"Process", 
					"Select", 
					"Verify" }
			] uint32 phase;
};
		
[dynamic: ToInstance, Description("Broker transport connection event begin"): Amended,
    Guid("{CF6AF34E-9B3D-4d74-B266-74516C22D4BA}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_event_begin"): Amended]
class XeSqlPkg_broker_transport_connection_event_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_event_begin: XeSqlPkg_broker_transport_connection_event_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(50),
				ValueMap { 
					"7", 
					"8", 
					"9", 
					"19", 
					"0", 
					"23", 
					"18", 
					"5", 
					"6", 
					"1", 
					"3", 
					"21", 
					"2", 
					"10", 
					"11", 
					"4", 
					"17", 
					"14", 
					"15", 
					"16", 
					"12", 
					"13", 
					"22", 
					"20" },
				Values { 
					"AuthComplete", 
					"AuthError", 
					"AuthSuccess", 
					"Dispatch", 
					"InitHandshake", 
					"MaxEvent", 
					"ProtocolError", 
					"RecvArbReq", 
					"RecvArbResp", 
					"RecvLNM", 
					"RecvPMS", 
					"RecvPxConnect", 
					"RecvSSPI", 
					"RecvSSPIConfirm", 
					"RecvSSPIReject", 
					"RecvValidation", 
					"SkipArbitration", 
					"SkipAuth", 
					"SkipAuthAndArb", 
					"StartArbitration", 
					"StartAuth", 
					"StartAuthTwo", 
					"StartPxForwarding", 
					"StartWaitPostValid" }
			] sint32 event;
	[WmiDataId(6), read, 
				XEMapId(49),
				ValueMap { 
					"13", 
					"16", 
					"0", 
					"3", 
					"2", 
					"12", 
					"15", 
					"5", 
					"4", 
					"11", 
					"7", 
					"6", 
					"1", 
					"9", 
					"14", 
					"8", 
					"10" },
				Values { 
					"Error", 
					"MaxState", 
					"None", 
					"OneASC", 
					"OneISC", 
					"Online", 
					"PxForwarding", 
					"TwoASC", 
					"TwoISC", 
					"WaitArb", 
					"WaitASCConf", 
					"WaitISCConf", 
					"WaitLN", 
					"WaitPMS", 
					"WaitPostValid", 
					"WaitReject", 
					"WaitValidation" }
			] sint32 state;
	[WmiDataId(7), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection event action"): Amended,
    Guid("{408EA5F7-902B-4bf6-B0A3-4454FB01D4EE}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_action_fire"): Amended]
class XeSqlPkg_broker_transport_connection_action_fire: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_action_fire: XeSqlPkg_broker_transport_connection_action_fire
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(50),
				ValueMap { 
					"7", 
					"8", 
					"9", 
					"19", 
					"0", 
					"23", 
					"18", 
					"5", 
					"6", 
					"1", 
					"3", 
					"21", 
					"2", 
					"10", 
					"11", 
					"4", 
					"17", 
					"14", 
					"15", 
					"16", 
					"12", 
					"13", 
					"22", 
					"20" },
				Values { 
					"AuthComplete", 
					"AuthError", 
					"AuthSuccess", 
					"Dispatch", 
					"InitHandshake", 
					"MaxEvent", 
					"ProtocolError", 
					"RecvArbReq", 
					"RecvArbResp", 
					"RecvLNM", 
					"RecvPMS", 
					"RecvPxConnect", 
					"RecvSSPI", 
					"RecvSSPIConfirm", 
					"RecvSSPIReject", 
					"RecvValidation", 
					"SkipArbitration", 
					"SkipAuth", 
					"SkipAuthAndArb", 
					"StartArbitration", 
					"StartAuth", 
					"StartAuthTwo", 
					"StartPxForwarding", 
					"StartWaitPostValid" }
			] sint32 event;
	[WmiDataId(6), read, 
				XEMapId(51),
				ValueMap { 
					"5", 
					"23", 
					"18", 
					"26", 
					"25", 
					"11", 
					"21", 
					"22", 
					"28", 
					"12", 
					"4", 
					"30", 
					"3", 
					"8", 
					"0", 
					"24", 
					"29", 
					"1", 
					"14", 
					"7", 
					"9", 
					"19", 
					"20", 
					"10", 
					"2", 
					"13", 
					"15", 
					"17", 
					"27", 
					"16", 
					"6" },
				Values { 
					"Accept_SSPI", 
					"Arbitrate", 
					"CreateArbitrator", 
					"Dispatch", 
					"Error", 
					"FinishSSPI", 
					"HandleArbReq", 
					"HandleArbResp", 
					"HandleProxyConnect", 
					"HashMessage", 
					"Initiate_SSPI", 
					"MaxAction", 
					"Negotiate", 
					"NextSSPI", 
					"Null", 
					"Online", 
					"ProxyForward", 
					"ReadConfig", 
					"ReceivePMS", 
					"RecvConfirm_SSPI", 
					"RejectSSPI", 
					"SendArbReq", 
					"SendArbResponse", 
					"SendConfirmSSPI", 
					"SendLNM", 
					"SendPMS", 
					"SendValidation", 
					"StartPostValidation", 
					"StopEncryption", 
					"ValidateHandshake", 
					"Verify_SSPI" }
			] sint32 action;
	[WmiDataId(7), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection event begin"): Amended,
    Guid("{FDC8A107-D878-49a8-8100-203B13046731}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_event_end"): Amended]
class XeSqlPkg_broker_transport_connection_event_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_event_end: XeSqlPkg_broker_transport_connection_event_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(50),
				ValueMap { 
					"7", 
					"8", 
					"9", 
					"19", 
					"0", 
					"23", 
					"18", 
					"5", 
					"6", 
					"1", 
					"3", 
					"21", 
					"2", 
					"10", 
					"11", 
					"4", 
					"17", 
					"14", 
					"15", 
					"16", 
					"12", 
					"13", 
					"22", 
					"20" },
				Values { 
					"AuthComplete", 
					"AuthError", 
					"AuthSuccess", 
					"Dispatch", 
					"InitHandshake", 
					"MaxEvent", 
					"ProtocolError", 
					"RecvArbReq", 
					"RecvArbResp", 
					"RecvLNM", 
					"RecvPMS", 
					"RecvPxConnect", 
					"RecvSSPI", 
					"RecvSSPIConfirm", 
					"RecvSSPIReject", 
					"RecvValidation", 
					"SkipArbitration", 
					"SkipAuth", 
					"SkipAuthAndArb", 
					"StartArbitration", 
					"StartAuth", 
					"StartAuthTwo", 
					"StartPxForwarding", 
					"StartWaitPostValid" }
			] sint32 event;
	[WmiDataId(6), read, 
				XEMapId(49),
				ValueMap { 
					"13", 
					"16", 
					"0", 
					"3", 
					"2", 
					"12", 
					"15", 
					"5", 
					"4", 
					"11", 
					"7", 
					"6", 
					"1", 
					"9", 
					"14", 
					"8", 
					"10" },
				Values { 
					"Error", 
					"MaxState", 
					"None", 
					"OneASC", 
					"OneISC", 
					"Online", 
					"PxForwarding", 
					"TwoASC", 
					"TwoISC", 
					"WaitArb", 
					"WaitASCConf", 
					"WaitISCConf", 
					"WaitLN", 
					"WaitPMS", 
					"WaitPostValid", 
					"WaitReject", 
					"WaitValidation" }
			] sint32 state;
	[WmiDataId(7), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection outgoing connect attempt"): Amended,
    Guid("{16C2F627-7211-40b3-BD08-453B3DAF00C8}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_outgoing_connect_attempt"): Amended]
class XeSqlPkg_broker_transport_connection_outgoing_connect_attempt: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_outgoing_connect_attempt: XeSqlPkg_broker_transport_connection_outgoing_connect_attempt
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(6),
				ValueMap { 
					"0", 
					"1" },
				Values { 
					"Broker", 
					"DbMirroring" }
			] sint32 endpoint_type;
	[WmiDataId(6), read] uint16 port;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string address;
	[WmiDataId(8), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection DNS lookup"): Amended,
    Guid("{9E7DBE36-C135-4646-A417-280752458E3B}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_dns_lookup"): Amended]
class XeSqlPkg_broker_transport_connection_dns_lookup: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_dns_lookup: XeSqlPkg_broker_transport_connection_dns_lookup
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(5),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4" },
				Values { 
					"AlreadyConnected", 
					"DnsLookupSucceeded", 
					"DnsLookupFailed", 
					"OutOfMemory", 
					"InvalidEndpointString" }
			] sint32 result;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string error;
	[WmiDataId(7), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection winsock connect attempt"): Amended,
    Guid("{352039D4-FB47-4e9e-B0BD-4B73C8C2A1AC}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_winsock_connect_attempt"): Amended]
class XeSqlPkg_broker_transport_connection_winsock_connect_attempt: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_winsock_connect_attempt: XeSqlPkg_broker_transport_connection_winsock_connect_attempt
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated")] string address;
	[WmiDataId(6), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection winsock connect fail"): Amended,
    Guid("{356B02D8-E449-4e99-97CA-525B8A8460AB}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_winsock_connect_fail"): Amended]
class XeSqlPkg_broker_transport_connection_winsock_connect_fail: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_winsock_connect_fail: XeSqlPkg_broker_transport_connection_winsock_connect_fail
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string error;
	[WmiDataId(6), read, StringTermination("NullTerminated")] string address;
	[WmiDataId(7), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection winsock connect success"): Amended,
    Guid("{F30F31F7-5872-4b09-A787-A518BAE88E5E}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_winsock_connect_success"): Amended]
class XeSqlPkg_broker_transport_connection_winsock_connect_success: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_winsock_connect_success: XeSqlPkg_broker_transport_connection_winsock_connect_success
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated")] string address;
	[WmiDataId(6), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transmission outgoing ack state machine event begin"): Amended,
    Guid("{551A254C-EC28-4a94-94BD-820C37F1A282}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_acksm_event_begin"): Amended]
class XeSqlPkg_broker_transmission_acksm_event_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_acksm_event_begin: XeSqlPkg_broker_transmission_acksm_event_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, 
				XEMapId(7),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7" },
				Values { 
					"AckTimerExpired", 
					"ReceivedNewMessages", 
					"SentMessages", 
					"SubmitAckIfNeeded", 
					"TooManyUnacknowledgedMessages", 
					"Reset", 
					"MaxEvent", 
					"NoEvent" }
			] sint32 event;
	[WmiDataId(10), read, 
				XEMapId(8),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7", 
					"8" },
				Values { 
					"Idle", 
					"AckTimerSet", 
					"AckPending", 
					"AckAlways", 
					"AckAlways_AckPending", 
					"MaxState", 
					"BadState", 
					"NoStateChange", 
					"Ignore" }
			] sint32 state;
	[WmiDataId(11), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission outgoing ack state machine action fire"): Amended,
    Guid("{C49DB76C-6F24-4532-947B-048B372521C0}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_acksm_action_fire"): Amended]
class XeSqlPkg_broker_transmission_acksm_action_fire: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_acksm_action_fire: XeSqlPkg_broker_transmission_acksm_action_fire
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, 
				XEMapId(7),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7" },
				Values { 
					"AckTimerExpired", 
					"ReceivedNewMessages", 
					"SentMessages", 
					"SubmitAckIfNeeded", 
					"TooManyUnacknowledgedMessages", 
					"Reset", 
					"MaxEvent", 
					"NoEvent" }
			] sint32 event;
	[WmiDataId(10), read, 
				XEMapId(9),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3" },
				Values { 
					"NullAction", 
					"CancelAckTimer", 
					"SetAckTimer", 
					"MaxAction" }
			] sint32 action;
	[WmiDataId(11), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission outgoing ack state machine event end"): Amended,
    Guid("{74BC9999-8561-4038-8259-6DEB316CED6A}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_acksm_event_end"): Amended]
class XeSqlPkg_broker_transmission_acksm_event_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_acksm_event_end: XeSqlPkg_broker_transmission_acksm_event_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, 
				XEMapId(7),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7" },
				Values { 
					"AckTimerExpired", 
					"ReceivedNewMessages", 
					"SentMessages", 
					"SubmitAckIfNeeded", 
					"TooManyUnacknowledgedMessages", 
					"Reset", 
					"MaxEvent", 
					"NoEvent" }
			] sint32 event;
	[WmiDataId(10), read, 
				XEMapId(8),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7", 
					"8" },
				Values { 
					"Idle", 
					"AckTimerSet", 
					"AckPending", 
					"AckAlways", 
					"AckAlways_AckPending", 
					"MaxState", 
					"BadState", 
					"NoStateChange", 
					"Ignore" }
			] sint32 state;
	[WmiDataId(11), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection close"): Amended,
    Guid("{95D1475D-47C4-4d02-A1B2-0F58A0E216A7}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_close"): Amended]
class XeSqlPkg_broker_transport_connection_close: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_close: XeSqlPkg_broker_transport_connection_close
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(53),
				ValueMap { 
					"15", 
					"3", 
					"10", 
					"12", 
					"17", 
					"7", 
					"14", 
					"4", 
					"19", 
					"9", 
					"8", 
					"11", 
					"6", 
					"0", 
					"18", 
					"5", 
					"20", 
					"21", 
					"13", 
					"2", 
					"16", 
					"1" },
				Values { 
					"ArbitrationLost", 
					"Connecting", 
					"ConnectionError", 
					"Disconnected", 
					"DNSLookpConnectedIP", 
					"DnsLookupFailed", 
					"Exception", 
					"FlowControlled", 
					"ForwarderDisconnected", 
					"IdleClose", 
					"InvalidToAddress", 
					"LoginError", 
					"NoMemory", 
					"None", 
					"NoProxy", 
					"NoRoute", 
					"NotFound", 
					"NumStatus", 
					"ProtocolError", 
					"Ready", 
					"Shutdown", 
					"Unavailable" }
			] sint32 stream_status;
	[WmiDataId(6), read, Extension("Guid")] guid connection_id;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string error;
};
		
[dynamic: ToInstance, Description("Broker transport connection read complete"): Amended,
    Guid("{5CA49847-8D25-4acc-B627-53779FC2C809}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_read_complete"): Amended]
class XeSqlPkg_broker_transport_connection_read_complete: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_read_complete: XeSqlPkg_broker_transport_connection_read_complete
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  control_block_address;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string error;
	[WmiDataId(7), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport global message add"): Amended,
    Guid("{5CF30F85-AC9C-475b-AAF9-4181A7D3CD22}"), locale("MS\\0x409"),
    DisplayName("broker_transport_global_message_add"): Amended]
class XeSqlPkg_broker_transport_global_message_add: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_global_message_add: XeSqlPkg_broker_transport_global_message_add
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 pending_messages;
};
		
[dynamic: ToInstance, Description("Broker transport global message delete"): Amended,
    Guid("{E94275D0-E4E2-4b88-A3AF-889847F6E0C0}"), locale("MS\\0x409"),
    DisplayName("broker_transport_global_message_delete"): Amended]
class XeSqlPkg_broker_transport_global_message_delete: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_global_message_delete: XeSqlPkg_broker_transport_global_message_delete
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 pending_messages;
};
		
[dynamic: ToInstance, Description("Broker transport connection message add"): Amended,
    Guid("{567B87DA-D091-4d5b-9CC9-67DF55591A93}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_message_add"): Amended]
class XeSqlPkg_broker_transport_connection_message_add: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_message_add: XeSqlPkg_broker_transport_connection_message_add
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 pending_messages;
	[WmiDataId(6), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection message delete"): Amended,
    Guid("{8672A4E8-DED9-450d-9CD3-33C67A9FA4DD}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_message_delete"): Amended]
class XeSqlPkg_broker_transport_connection_message_delete: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_message_delete: XeSqlPkg_broker_transport_connection_message_delete
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 pending_messages;
	[WmiDataId(6), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection winsock read"): Amended,
    Guid("{BB4F49AF-5DB0-4d5b-914A-4B35F1737F6C}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_winsock_read"): Amended]
class XeSqlPkg_broker_transport_connection_winsock_read: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_winsock_read: XeSqlPkg_broker_transport_connection_winsock_read
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  control_block_address;
	[WmiDataId(6), read, Extension("Guid")] guid connection_id;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string error;
};
		
[dynamic: ToInstance, Description("Broker transport connection receive I/O complete"): Amended,
    Guid("{8EF1A9E7-2AF3-466b-AFAB-8FB02F5E03FC}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_receive_io_complete"): Amended]
class XeSqlPkg_broker_transport_connection_receive_io_complete: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_receive_io_complete: XeSqlPkg_broker_transport_connection_receive_io_complete
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 receive_post_count;
	[WmiDataId(6), read] uint32 fill_factor;
	[WmiDataId(7), read] uint32 bytes_received;
	[WmiDataId(8), read, Pointer] object  control_block_address;
	[WmiDataId(9), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection process receive control block"): Amended,
    Guid("{ADD8FF82-8F52-48eb-A949-55EC14D8F519}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_process_receive_control_block"): Amended]
class XeSqlPkg_broker_transport_connection_process_receive_control_block: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_process_receive_control_block: XeSqlPkg_broker_transport_connection_process_receive_control_block
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  control_block_address;
	[WmiDataId(6), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection delimit message"): Amended,
    Guid("{E33FBE7A-0EFE-411f-9BD6-765787A7C833}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_delimit_message"): Amended]
class XeSqlPkg_broker_transport_connection_delimit_message: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_delimit_message: XeSqlPkg_broker_transport_connection_delimit_message
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 remaining_bytes;
	[WmiDataId(6), read, 
				XEMapId(55),
				ValueMap { 
					"3", 
					"1", 
					"0", 
					"2" },
				Values { 
					"FormatError", 
					"More", 
					"NoMemory", 
					"UsedUp" }
			] sint32 result;
	[WmiDataId(7), read, Pointer] object  control_block_address;
	[WmiDataId(8), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection write complete"): Amended,
    Guid("{AEF49847-8D25-4acc-B627-53779FC2C809}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_write_complete"): Amended]
class XeSqlPkg_broker_transport_connection_write_complete: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_write_complete: XeSqlPkg_broker_transport_connection_write_complete
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  boxcar_address;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string error;
	[WmiDataId(7), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transport connection send I/O complete"): Amended,
    Guid("{BEF49847-8D25-4acc-B627-53779FC2C809}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_send_io_complete"): Amended]
class XeSqlPkg_broker_transport_connection_send_io_complete: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_send_io_complete: XeSqlPkg_broker_transport_connection_send_io_complete
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  boxcar_address;
	[WmiDataId(6), read] sint8  leaving_flow_control;
	[WmiDataId(7), read] sint8  let_ready_boxcar_go;
	[WmiDataId(8), read] sint8  let_ready_boxcar_sit;
	[WmiDataId(9), read] sint8  inline_send;
	[WmiDataId(10), read] sint8  in_cleanup_task;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string error;
	[WmiDataId(12), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transmitter transport stream update"): Amended,
    Guid("{CEF49847-8D25-4acc-B627-53779FC2C809}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_transport_stream_update"): Amended]
class XeSqlPkg_broker_transmitter_transport_stream_update: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_transport_stream_update: XeSqlPkg_broker_transmitter_transport_stream_update
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(52),
				ValueMap { 
					"3", 
					"1", 
					"2", 
					"0" },
				Values { 
					"EnteringDown", 
					"EnteringUp", 
					"LeavingFlowControlled", 
					"None" }
			] sint32 transport_stream_update;
	[WmiDataId(6), read, 
				XEMapId(53),
				ValueMap { 
					"15", 
					"3", 
					"10", 
					"12", 
					"17", 
					"7", 
					"14", 
					"4", 
					"19", 
					"9", 
					"8", 
					"11", 
					"6", 
					"0", 
					"18", 
					"5", 
					"20", 
					"21", 
					"13", 
					"2", 
					"16", 
					"1" },
				Values { 
					"ArbitrationLost", 
					"Connecting", 
					"ConnectionError", 
					"Disconnected", 
					"DNSLookpConnectedIP", 
					"DnsLookupFailed", 
					"Exception", 
					"FlowControlled", 
					"ForwarderDisconnected", 
					"IdleClose", 
					"InvalidToAddress", 
					"LoginError", 
					"NoMemory", 
					"None", 
					"NoProxy", 
					"NoRoute", 
					"NotFound", 
					"NumStatus", 
					"ProtocolError", 
					"Ready", 
					"Shutdown", 
					"Unavailable" }
			] sint32 transport_stream_status;
	[WmiDataId(7), read] sint64 status_version;
	[WmiDataId(8), read, Extension("Guid")] guid connection_id;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string error;
};
		
[dynamic: ToInstance, Description("Broker transmitter destination process begin"): Amended,
    Guid("{DEF49847-8D25-4acc-B627-53779FC2C809}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_destination_process_begin"): Amended]
class XeSqlPkg_broker_transmitter_destination_process_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_destination_process_begin: XeSqlPkg_broker_transmitter_destination_process_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint64 destination_id;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string target_address;
};
		
[dynamic: ToInstance, Description("Broker transmitter destination process end"): Amended,
    Guid("{EEF49847-8D25-4acc-B627-53779FC2C809}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_destination_process_end"): Amended]
class XeSqlPkg_broker_transmitter_destination_process_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_destination_process_end: XeSqlPkg_broker_transmitter_destination_process_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint64 destination_id;
	[WmiDataId(6), read] sint8  processed;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string target_address;
};
		
[dynamic: ToInstance, Description("Broker transmitter destination process sender process"): Amended,
    Guid("{FEF49847-8D25-4acc-B627-53779FC2C809}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_destination_process_sender_process"): Amended]
class XeSqlPkg_broker_transmitter_destination_process_sender_process: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_destination_process_sender_process: XeSqlPkg_broker_transmitter_destination_process_sender_process
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint64 destination_id;
	[WmiDataId(6), read] sint8  processed;
	[WmiDataId(7), read, Pointer] object  sender_address;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string target_address;
};
		
[dynamic: ToInstance, Description("Broker transmitter destination connect"): Amended,
    Guid("{FFF49847-8D25-4acc-B627-53779FC2C809}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_destination_connect"): Amended]
class XeSqlPkg_broker_transmitter_destination_connect: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_destination_connect: XeSqlPkg_broker_transmitter_destination_connect
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint64 destination_id;
	[WmiDataId(6), read, 
				XEMapId(53),
				ValueMap { 
					"15", 
					"3", 
					"10", 
					"12", 
					"17", 
					"7", 
					"14", 
					"4", 
					"19", 
					"9", 
					"8", 
					"11", 
					"6", 
					"0", 
					"18", 
					"5", 
					"20", 
					"21", 
					"13", 
					"2", 
					"16", 
					"1" },
				Values { 
					"ArbitrationLost", 
					"Connecting", 
					"ConnectionError", 
					"Disconnected", 
					"DNSLookpConnectedIP", 
					"DnsLookupFailed", 
					"Exception", 
					"FlowControlled", 
					"ForwarderDisconnected", 
					"IdleClose", 
					"InvalidToAddress", 
					"LoginError", 
					"NoMemory", 
					"None", 
					"NoProxy", 
					"NoRoute", 
					"NotFound", 
					"NumStatus", 
					"ProtocolError", 
					"Ready", 
					"Shutdown", 
					"Unavailable" }
			] sint32 transport_stream_status;
	[WmiDataId(7), read, Extension("Guid")] guid connection_id;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string target_address;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string error;
};
		
[dynamic: ToInstance, Description("Broker transmitter destination event fire"): Amended,
    Guid("{F0F49847-8D25-4acc-B627-53779FC2C809}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_destination_event_fire"): Amended]
class XeSqlPkg_broker_transmitter_destination_event_fire: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_destination_event_fire: XeSqlPkg_broker_transmitter_destination_event_fire
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint64 destination_id;
	[WmiDataId(6), read, 
				XEMapId(10),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7" },
				Values { 
					"Subscribe", 
					"Unsubscribe", 
					"Process", 
					"Processed", 
					"Unsuppress", 
					"TransportReady", 
					"TransportFlowControl", 
					"TransportDisconnect" }
			] sint32 event;
	[WmiDataId(7), read, 
				XEMapId(11),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7", 
					"8", 
					"9", 
					"10", 
					"11", 
					"12", 
					"13", 
					"14", 
					"15", 
					"16", 
					"17", 
					"18", 
					"19" },
				Values { 
					"NoConnectionHasSubscription", 
					"NoConnectionNoSubscriptionUnsubscribe", 
					"NotReadyHasSubscription", 
					"NotReadyNoSubscription", 
					"ReadyHasSubscription", 
					"ReadyNoSubscription", 
					"SuppressHasSubscription", 
					"SuppressNoSubscription", 
					"ProcessingWaitingSubscription", 
					"SuppressedDuringProcessingHasSubscription", 
					"SuppressedDuringProcessingNoSubscription", 
					"NoConnectionWaitHasSubscription", 
					"NoConnectionWaitNoSubscription", 
					"NotReadyWaitHasSubscription", 
					"NotReadyWaitNoSubscription", 
					"ReadyWaitHasSubscription", 
					"ReadyWaitNoSubscription", 
					"MaxValidStates", 
					"Error", 
					"Ignore" }
			] sint32 state_old;
	[WmiDataId(8), read, 
				XEMapId(11),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7", 
					"8", 
					"9", 
					"10", 
					"11", 
					"12", 
					"13", 
					"14", 
					"15", 
					"16", 
					"17", 
					"18", 
					"19" },
				Values { 
					"NoConnectionHasSubscription", 
					"NoConnectionNoSubscriptionUnsubscribe", 
					"NotReadyHasSubscription", 
					"NotReadyNoSubscription", 
					"ReadyHasSubscription", 
					"ReadyNoSubscription", 
					"SuppressHasSubscription", 
					"SuppressNoSubscription", 
					"ProcessingWaitingSubscription", 
					"SuppressedDuringProcessingHasSubscription", 
					"SuppressedDuringProcessingNoSubscription", 
					"NoConnectionWaitHasSubscription", 
					"NoConnectionWaitNoSubscription", 
					"NotReadyWaitHasSubscription", 
					"NotReadyWaitNoSubscription", 
					"ReadyWaitHasSubscription", 
					"ReadyWaitNoSubscription", 
					"MaxValidStates", 
					"Error", 
					"Ignore" }
			] sint32 state_new;
	[WmiDataId(9), read, 
				XEMapId(53),
				ValueMap { 
					"15", 
					"3", 
					"10", 
					"12", 
					"17", 
					"7", 
					"14", 
					"4", 
					"19", 
					"9", 
					"8", 
					"11", 
					"6", 
					"0", 
					"18", 
					"5", 
					"20", 
					"21", 
					"13", 
					"2", 
					"16", 
					"1" },
				Values { 
					"ArbitrationLost", 
					"Connecting", 
					"ConnectionError", 
					"Disconnected", 
					"DNSLookpConnectedIP", 
					"DnsLookupFailed", 
					"Exception", 
					"FlowControlled", 
					"ForwarderDisconnected", 
					"IdleClose", 
					"InvalidToAddress", 
					"LoginError", 
					"NoMemory", 
					"None", 
					"NoProxy", 
					"NoRoute", 
					"NotFound", 
					"NumStatus", 
					"ProtocolError", 
					"Ready", 
					"Shutdown", 
					"Unavailable" }
			] sint32 transport_stream_status;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string target_address;
};
		
[dynamic: ToInstance, Description("Broker transmitter destination reference"): Amended,
    Guid("{F1F49847-8D25-4acc-B627-53779FC2C809}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_destination_reference"): Amended]
class XeSqlPkg_broker_transmitter_destination_reference: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_destination_reference: XeSqlPkg_broker_transmitter_destination_reference
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint64 destination_id;
	[WmiDataId(6), read] sint8  is_successful;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string target_address;
};
		
[dynamic: ToInstance, Description("Broker transmission delivery state machine event begin"): Amended,
    Guid("{D471AF0C-CE15-4c36-81DD-00E33E0A0924}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_deliverysm_event_begin"): Amended]
class XeSqlPkg_broker_transmission_deliverysm_event_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_deliverysm_event_begin: XeSqlPkg_broker_transmission_deliverysm_event_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, 
				XEMapId(44),
				ValueMap { 
					"5", 
					"0", 
					"1", 
					"11", 
					"9", 
					"12", 
					"4", 
					"3", 
					"10", 
					"8", 
					"2", 
					"6", 
					"7" },
				Values { 
					"DeliveryTimerExpired", 
					"DialogEndpointDeleted", 
					"EnqueuedMessages", 
					"MaxEvent", 
					"NoEnqueuedMessages", 
					"NoEvent", 
					"ReceivedFullAck", 
					"ReceivedProgressiveAck", 
					"SendAck", 
					"SendCompletion", 
					"SendError", 
					"SendMessages", 
					"SentMessages" }
			] sint32 event;
	[WmiDataId(10), read, 
				XEMapId(45),
				ValueMap { 
					"6", 
					"0", 
					"8", 
					"5", 
					"7", 
					"4", 
					"3", 
					"1", 
					"2" },
				Values { 
					"BadState", 
					"Idle", 
					"Ignore", 
					"MaxState", 
					"NoStateChange", 
					"Resending_Sending", 
					"Resending_Waiting", 
					"Sending", 
					"SendingAck" }
			] sint32 state;
	[WmiDataId(11), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmission delivery state machine action fire"): Amended,
    Guid("{B1A3B64F-738B-423c-BBD5-F59FE60D0F96}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_deliverysm_action_fire"): Amended]
class XeSqlPkg_broker_transmission_deliverysm_action_fire: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_deliverysm_action_fire: XeSqlPkg_broker_transmission_deliverysm_action_fire
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 asb_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 unique_id;
	[WmiDataId(9), read, 
				XEMapId(44),
				ValueMap { 
					"5", 
					"0", 
					"1", 
					"11", 
					"9", 
					"12", 
					"4", 
					"3", 
					"10", 
					"8", 
					"2", 
					"6", 
					"7" },
				Values { 
					"DeliveryTimerExpired", 
					"DialogEndpointDeleted", 
					"EnqueuedMessages", 
					"MaxEvent", 
					"NoEnqueuedMessages", 
					"NoEvent", 
					"ReceivedFullAck", 
					"ReceivedProgressiveAck", 
					"SendAck", 
					"SendCompletion", 
					"SendError", 
					"SendMessages", 
					"SentMessages" }
			] sint32 event;
	[WmiDataId(10), read, 
				XEMapId(46),
				ValueMap { 
					"1", 
					"14", 
					"9", 
					"12", 
					"3", 
					"13", 
					"4", 
					"15", 
					"0", 
					"10", 
					"11", 
					"8", 
					"7", 
					"5", 
					"6", 
					"2" },
				Values { 
					"CancelDeliveryTimer", 
					"CheckForDeletedEndpoint", 
					"CheckForIdle", 
					"DialogEndpointDeleted", 
					"EnterResending", 
					"IncrementResendCount", 
					"LeaveResending", 
					"MaxAction", 
					"NullAction", 
					"ProcessSendError", 
					"ResetSendErrors", 
					"ResetSendInformation", 
					"SendAck", 
					"SendMessages", 
					"SentMessages", 
					"SetDeliveryTimer" }
			] sint32 action;
	[WmiDataId(11), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transport process boxcar"): Amended,
    Guid("{edbbcdc0-d40b-4ade-a4b7-19a545f079ff}"), locale("MS\\0x409"),
    DisplayName("broker_transport_process_boxcar"): Amended]
class XeSqlPkg_broker_transport_process_boxcar: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_process_boxcar: XeSqlPkg_broker_transport_process_boxcar
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  boxcar_address;
	[WmiDataId(6), read] sint32 message_count;
	[WmiDataId(7), read] uint32 boxcar_size;
	[WmiDataId(8), read] sint8  inline_send;
};
		
[dynamic: ToInstance, Description("Broker transport send"): Amended,
    Guid("{fdbbcdc0-d40b-4ade-a4b7-19a545f079ff}"), locale("MS\\0x409"),
    DisplayName("broker_transport_send"): Amended]
class XeSqlPkg_broker_transport_send: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_send: XeSqlPkg_broker_transport_send
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 message_class_id;
	[WmiDataId(6), read] sint32 protocol_id;
	[WmiDataId(7), read] uint32 reserved_message_size;
	[WmiDataId(8), read, 
				XEMapId(53),
				ValueMap { 
					"15", 
					"3", 
					"10", 
					"12", 
					"17", 
					"7", 
					"14", 
					"4", 
					"19", 
					"9", 
					"8", 
					"11", 
					"6", 
					"0", 
					"18", 
					"5", 
					"20", 
					"21", 
					"13", 
					"2", 
					"16", 
					"1" },
				Values { 
					"ArbitrationLost", 
					"Connecting", 
					"ConnectionError", 
					"Disconnected", 
					"DNSLookpConnectedIP", 
					"DnsLookupFailed", 
					"Exception", 
					"FlowControlled", 
					"ForwarderDisconnected", 
					"IdleClose", 
					"InvalidToAddress", 
					"LoginError", 
					"NoMemory", 
					"None", 
					"NoProxy", 
					"NoRoute", 
					"NotFound", 
					"NumStatus", 
					"ProtocolError", 
					"Ready", 
					"Shutdown", 
					"Unavailable" }
			] sint32 transport_stream_status;
	[WmiDataId(9), read, Pointer] object  message_reference_address;
	[WmiDataId(10), read, Pointer] object  boxcar_address;
	[WmiDataId(11), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transmitter destination subscribe"): Amended,
    Guid("{abbbcdc0-d40b-4ade-a4b7-19a545f079ff}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_destination_subscribe"): Amended]
class XeSqlPkg_broker_transmitter_destination_subscribe: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_destination_subscribe: XeSqlPkg_broker_transmitter_destination_subscribe
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 destination_id;
	[WmiDataId(6), read, Pointer] object  sender_address;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string target_address;
};
		
[dynamic: ToInstance, Description("Broker transmitter destination unsubscribe"): Amended,
    Guid("{bbbbcdc0-d40b-4ade-a4b7-19a545f079ff}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_destination_unsubscribe"): Amended]
class XeSqlPkg_broker_transmitter_destination_unsubscribe: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_destination_unsubscribe: XeSqlPkg_broker_transmitter_destination_unsubscribe
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 destination_id;
	[WmiDataId(6), read, Pointer] object  sender_address;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string target_address;
};
		
[dynamic: ToInstance, Description("Broker transmitter service created"): Amended,
    Guid("{dbbbcdc0-d40b-4ade-a4b7-19a545f079ff}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_service_create"): Amended]
class XeSqlPkg_broker_transmitter_service_create: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_service_create: XeSqlPkg_broker_transmitter_service_create
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  service_address;
	[WmiDataId(6), read] uint64 service_id;
	[WmiDataId(7), read] sint32 route_type;
	[WmiDataId(8), read] uint64 asb_id;
	[WmiDataId(9), read] uint32 database_id;
	[WmiDataId(10), read, Extension("Guid")] guid dialog_id;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string to_service_name;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string to_broker_instance;
};
		
[dynamic: ToInstance, Description("Broker transmitter service match"): Amended,
    Guid("{ebbbcdc0-d40b-4ade-a4b7-19a545f079ff}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_service_match"): Amended]
class XeSqlPkg_broker_transmitter_service_match: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_service_match: XeSqlPkg_broker_transmitter_service_match
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  service_address;
	[WmiDataId(6), read] uint64 service_id;
	[WmiDataId(7), read] uint64 asb_id;
	[WmiDataId(8), read] uint32 database_id;
	[WmiDataId(9), read, Extension("Guid")] guid dialog_id;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string to_service_name;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string to_broker_instance;
};
		
[dynamic: ToInstance, Description("Broker task idempotent submit"): Amended,
    Guid("{fbbbcdc0-d40b-4ade-a4b7-19a545f079ff}"), locale("MS\\0x409"),
    DisplayName("broker_task_idempotent_submit"): Amended]
class XeSqlPkg_broker_task_idempotent_submit: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_task_idempotent_submit: XeSqlPkg_broker_task_idempotent_submit
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(56),
				ValueMap { 
					"13", 
					"7", 
					"11", 
					"5", 
					"4", 
					"1", 
					"2", 
					"3", 
					"20", 
					"6", 
					"16", 
					"17", 
					"19", 
					"18", 
					"12", 
					"0", 
					"14", 
					"10", 
					"8", 
					"15", 
					"9" },
				Values { 
					"ActivationScheduler", 
					"AsyncDialogError", 
					"BrokerInitializer", 
					"ConnectionAccept", 
					"ConnectionConnect", 
					"ConnectionReceive", 
					"ConnectionSend", 
					"ConnectionSendCompletionCleanup", 
					"Count", 
					"DialogTimerEvent", 
					"HadrFsFileReader", 
					"HadrFsFileWriter", 
					"HadrFsMsgReceiver", 
					"HadrFsMsgSender", 
					"MessageDispatcher", 
					"None", 
					"QueueActivityCheck", 
					"RollbackHandler", 
					"Transmission", 
					"UnitTest", 
					"XmitQueueDeferredDelete" }
			] sint32 task_type;
	[WmiDataId(6), read, Pointer] object  task_address;
	[WmiDataId(7), read, 
				XEMapId(57),
				ValueMap { 
					"1", 
					"3", 
					"4", 
					"2", 
					"0" },
				Values { 
					"NotScheduled", 
					"Running", 
					"RunningAndReScheduled", 
					"Scheduled", 
					"x_NotInit" }
			] sint32 task_state_old;
	[WmiDataId(8), read] sint32 scheduled_tasks;
};
		
[dynamic: ToInstance, Description("Broker task idempotent invoke begin"): Amended,
    Guid("{a0bbcdc0-d40b-4ade-a4b7-19a545f079ff}"), locale("MS\\0x409"),
    DisplayName("broker_task_idempotent_invoke_begin"): Amended]
class XeSqlPkg_broker_task_idempotent_invoke_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_task_idempotent_invoke_begin: XeSqlPkg_broker_task_idempotent_invoke_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  handler_address;
	[WmiDataId(6), read, 
				XEMapId(56),
				ValueMap { 
					"13", 
					"7", 
					"11", 
					"5", 
					"4", 
					"1", 
					"2", 
					"3", 
					"20", 
					"6", 
					"16", 
					"17", 
					"19", 
					"18", 
					"12", 
					"0", 
					"14", 
					"10", 
					"8", 
					"15", 
					"9" },
				Values { 
					"ActivationScheduler", 
					"AsyncDialogError", 
					"BrokerInitializer", 
					"ConnectionAccept", 
					"ConnectionConnect", 
					"ConnectionReceive", 
					"ConnectionSend", 
					"ConnectionSendCompletionCleanup", 
					"Count", 
					"DialogTimerEvent", 
					"HadrFsFileReader", 
					"HadrFsFileWriter", 
					"HadrFsMsgReceiver", 
					"HadrFsMsgSender", 
					"MessageDispatcher", 
					"None", 
					"QueueActivityCheck", 
					"RollbackHandler", 
					"Transmission", 
					"UnitTest", 
					"XmitQueueDeferredDelete" }
			] sint32 task_type;
	[WmiDataId(7), read, Pointer] object  task_address;
	[WmiDataId(8), read] sint32 scheduled_tasks;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string task_description;
};
		
[dynamic: ToInstance, Description("Broker task idempotent invoke end"): Amended,
    Guid("{a1bbcdc0-d40b-4ade-a4b7-19a545f079ff}"), locale("MS\\0x409"),
    DisplayName("broker_task_idempotent_invoke_end"): Amended]
class XeSqlPkg_broker_task_idempotent_invoke_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_task_idempotent_invoke_end: XeSqlPkg_broker_task_idempotent_invoke_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  handler_address;
	[WmiDataId(6), read, 
				XEMapId(56),
				ValueMap { 
					"13", 
					"7", 
					"11", 
					"5", 
					"4", 
					"1", 
					"2", 
					"3", 
					"20", 
					"6", 
					"16", 
					"17", 
					"19", 
					"18", 
					"12", 
					"0", 
					"14", 
					"10", 
					"8", 
					"15", 
					"9" },
				Values { 
					"ActivationScheduler", 
					"AsyncDialogError", 
					"BrokerInitializer", 
					"ConnectionAccept", 
					"ConnectionConnect", 
					"ConnectionReceive", 
					"ConnectionSend", 
					"ConnectionSendCompletionCleanup", 
					"Count", 
					"DialogTimerEvent", 
					"HadrFsFileReader", 
					"HadrFsFileWriter", 
					"HadrFsMsgReceiver", 
					"HadrFsMsgSender", 
					"MessageDispatcher", 
					"None", 
					"QueueActivityCheck", 
					"RollbackHandler", 
					"Transmission", 
					"UnitTest", 
					"XmitQueueDeferredDelete" }
			] sint32 task_type;
	[WmiDataId(7), read, Pointer] object  task_address;
	[WmiDataId(8), read, 
				XEMapId(57),
				ValueMap { 
					"1", 
					"3", 
					"4", 
					"2", 
					"0" },
				Values { 
					"NotScheduled", 
					"Running", 
					"RunningAndReScheduled", 
					"Scheduled", 
					"x_NotInit" }
			] sint32 task_state_old;
	[WmiDataId(9), read] sint32 scheduled_tasks;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string task_description;
};
		
[dynamic: ToInstance, Description("Broker transport connection incoming connect attempt"): Amended,
    Guid("{17C2F627-7211-40b3-BD08-453B3DAF00C8}"), locale("MS\\0x409"),
    DisplayName("broker_transport_connection_incoming_connect_attempt"): Amended]
class XeSqlPkg_broker_transport_connection_incoming_connect_attempt: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_connection_incoming_connect_attempt: XeSqlPkg_broker_transport_connection_incoming_connect_attempt
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(6),
				ValueMap { 
					"0", 
					"1" },
				Values { 
					"Broker", 
					"DbMirroring" }
			] sint32 endpoint_type;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string address;
	[WmiDataId(7), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("Broker transmitter service send"): Amended,
    Guid("{18C2F627-7211-40b3-BD08-453B3DAF00C8}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_service_send"): Amended]
class XeSqlPkg_broker_transmitter_service_send: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_service_send: XeSqlPkg_broker_transmitter_service_send
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 service_id;
	[WmiDataId(6), read] uint64 destination_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] uint64 asb_id;
	[WmiDataId(9), read] uint32 database_id;
	[WmiDataId(10), read, Pointer] object  message_reference_address;
	[WmiDataId(11), read] uint64 message_sequence_number;
	[WmiDataId(12), read] sint32 message_fragment_number;
	[WmiDataId(13), read] sint8  is_sequenced;
	[WmiDataId(14), read, Extension("Guid")] guid dialog_id;
	[WmiDataId(15), read, Extension("Guid")] guid connection_id;
	[WmiDataId(16), read, StringTermination("NullTerminated"), Format("w")] string to_service_name;
	[WmiDataId(17), read, StringTermination("NullTerminated"), Format("w")] string to_broker_instance;
};
		
[dynamic: ToInstance, Description("Broker transmitter dialog register"): Amended,
    Guid("{19C2F627-7211-40b3-BD08-453B3DAF00C8}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_dialog_register"): Amended]
class XeSqlPkg_broker_transmitter_dialog_register: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_dialog_register: XeSqlPkg_broker_transmitter_dialog_register
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  session_address;
	[WmiDataId(6), read] uint64 service_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read] sint32 result;
	[WmiDataId(9), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmitter dialog unregister"): Amended,
    Guid("{1AC2F627-7211-40b3-BD08-453B3DAF00C8}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_dialog_unregister"): Amended]
class XeSqlPkg_broker_transmitter_dialog_unregister: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_dialog_unregister: XeSqlPkg_broker_transmitter_dialog_unregister
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  session_address;
	[WmiDataId(6), read] uint64 service_id;
	[WmiDataId(7), read] sint8  initiator_flag;
	[WmiDataId(8), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmitter service reclassify"): Amended,
    Guid("{1BC2F627-7211-40b3-BD08-453B3DAF00C8}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_service_reclassify"): Amended]
class XeSqlPkg_broker_transmitter_service_reclassify: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_service_reclassify: XeSqlPkg_broker_transmitter_service_reclassify
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 service_id;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string to_service_name;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string to_broker_instance;
};
		
[dynamic: ToInstance, Description("Broker transmitter dialog reclassify"): Amended,
    Guid("{1DC2F627-7211-40b3-BD08-453B3DAF00C8}"), locale("MS\\0x409"),
    DisplayName("broker_transmitter_dialog_reclassify"): Amended]
class XeSqlPkg_broker_transmitter_dialog_reclassify: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmitter_dialog_reclassify: XeSqlPkg_broker_transmitter_dialog_reclassify
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  session_address;
	[WmiDataId(6), read] sint8  initiator_flag;
	[WmiDataId(7), read] uint64 service_id;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string to_service_name;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string to_broker_instance;
	[WmiDataId(10), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Broker transmitter dialog reclassify"): Amended,
    Guid("{1EC2F627-7211-40b3-BD08-453B3DAF00C8}"), locale("MS\\0x409"),
    DisplayName("broker_transport_flow_control"): Amended]
class XeSqlPkg_broker_transport_flow_control: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transport_flow_control: XeSqlPkg_broker_transport_flow_control
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint8  is_flow_controlled;
	[WmiDataId(6), read, Extension("Guid")] guid connection_id;
};
		
[dynamic: ToInstance, Description("The state of a Service Broker dialog has changed"): Amended,
    Guid("{20C2F627-7211-40b3-BD08-453B3DAF00C8}"), locale("MS\\0x409"),
    DisplayName("broker_dialog_state_change"): Amended]
class XeSqlPkg_broker_dialog_state_change: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_dialog_state_change: XeSqlPkg_broker_dialog_state_change
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read, 
				XEMapId(12),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6" },
				Values { 
					"STARTED_INBOUND", 
					"STARTED_OUTBOUND", 
					"CONVERSING", 
					"DISCONNECTED_INBOUND", 
					"ERROR", 
					"DISCONNECT_OUTBOUND", 
					"CLOSED" }
			] sint32 state;
	[WmiDataId(7), read] sint8  is_initiator;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string initiator_service_name;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string target_service_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string initiator_broker_instance;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string target_broker_instance;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string contract_name;
	[WmiDataId(13), read, Extension("Guid")] guid dialog_id;
	[WmiDataId(14), read, Extension("Guid")] guid dialog_handle;
};
		
[dynamic: ToInstance, Description("A message was enqueued into a Service Broker transmission queue"): Amended,
    Guid("{21C2F627-7211-40b3-BD08-453B3DAF00C8}"), locale("MS\\0x409"),
    DisplayName("broker_dialog_transmission_queue_enqueue"): Amended]
class XeSqlPkg_broker_dialog_transmission_queue_enqueue: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_dialog_transmission_queue_enqueue: XeSqlPkg_broker_dialog_transmission_queue_enqueue
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 message_sequence_number;
	[WmiDataId(6), read] sint8  is_initiator;
	[WmiDataId(7), read] uint32 message_size;
	[WmiDataId(8), read] uint64 message_reference;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string from_service_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string to_service_name;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string from_broker_instance;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string to_broker_instance;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string message_type;
	[WmiDataId(14), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("A message was dequeued from a Service Broker transmission queue"): Amended,
    Guid("{22C2F627-7211-40b3-BD08-453B3DAF00C8}"), locale("MS\\0x409"),
    DisplayName("broker_dialog_transmission_queue_dequeue"): Amended]
class XeSqlPkg_broker_dialog_transmission_queue_dequeue: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_dialog_transmission_queue_dequeue: XeSqlPkg_broker_dialog_transmission_queue_dequeue
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 message_sequence_number;
	[WmiDataId(6), read] sint8  is_initiator;
	[WmiDataId(7), read] uint32 message_size;
	[WmiDataId(8), read] uint64 message_reference;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string from_service_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string to_service_name;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string from_broker_instance;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string to_broker_instance;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string message_type;
	[WmiDataId(14), read, Extension("Guid")] guid dialog_id;
};
		
[dynamic: ToInstance, Description("Occurs when you use a feature that will be removed from a future version of SQL Server, but will not be removed from the next major release of SQL Server."): Amended,
    Guid("{3de05588-4043-4fc3-8f98-21baac3b8afb}"), locale("MS\\0x409"),
    DisplayName("deprecation_announcement"): Amended]
class XeSqlPkg_deprecation_announcement: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class deprecation_announcement: XeSqlPkg_deprecation_announcement
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string feature;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string message;
};
		
[dynamic: ToInstance, Description("Occurs when you use a feature that will be removed from a future version of SQL Server, but will not be removed from the next major release of SQL Server."): Amended,
    Guid("{3de05588-4043-4fc3-8f98-21baac3b8afb}"), locale("MS\\0x409"),
    DisplayName("deprecation_announcement"): Amended]
class XeSqlPkg_deprecation_announcement: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class deprecation_announcement: XeSqlPkg_deprecation_announcement
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 feature_id;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string feature;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string message;
};
		
[dynamic: ToInstance, Description("Occurs when you use a feature that will be removed from the next major release of SQL Server."): Amended,
    Guid("{b26a7e27-cde0-4dae-9ad9-5b0aaf86e358}"), locale("MS\\0x409"),
    DisplayName("deprecation_final_support"): Amended]
class XeSqlPkg_deprecation_final_support: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class deprecation_final_support: XeSqlPkg_deprecation_final_support
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string feature;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string message;
};
		
[dynamic: ToInstance, Description("Occurs when you use a feature that will be removed from the next major release of SQL Server."): Amended,
    Guid("{b26a7e27-cde0-4dae-9ad9-5b0aaf86e358}"), locale("MS\\0x409"),
    DisplayName("deprecation_final_support"): Amended]
class XeSqlPkg_deprecation_final_support: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class deprecation_final_support: XeSqlPkg_deprecation_final_support
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 feature_id;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string feature;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string message;
};
		
[dynamic: ToInstance, Description("query optimizing (intermediate) result tree"): Amended,
    Guid("{4753bc2c-747b-46e8-8ec1-775cb3e92710}"), locale("MS\\0x409"),
    DisplayName("query_optimizer_tree"): Amended]
class XeSqlPkg_query_optimizer_tree: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class query_optimizer_tree: XeSqlPkg_query_optimizer_tree
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(13),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7" },
				Values { 
					"CONVERTED_TREE", 
					"INPUT_TREE", 
					"SIMPLIFIED_TREE", 
					"JOIN_COLLAPSED_TREE", 
					"TREE_BEFORE_PROJECT_NORM", 
					"TREE_AFTER_PROJECT_NORM", 
					"OUTPUT_TREE", 
					"TREE_COPIED_OUT" }
			] sint32 stage;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string output_tree;
};
		
[dynamic: ToInstance, Description("Occurs when the optimizer completes a step in cardinality estimation."): Amended,
    Guid("{0969463a-8849-4f10-a929-03ddd53560b3}"), locale("MS\\0x409"),
    DisplayName("query_optimizer_cardinality_estimation_step"): Amended]
class XeSqlPkg_query_optimizer_cardinality_estimation_step: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class query_optimizer_cardinality_estimation_step: XeSqlPkg_query_optimizer_cardinality_estimation_step
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string calculator;
};
		
[dynamic: ToInstance, Description("Occurs when the query optimizer estimates cardinality on a relational expression."): Amended,
    Guid("{c74e6ce5-0de6-45fa-acb1-15db4b7de53f}"), locale("MS\\0x409"),
    DisplayName("query_optimizer_estimate_cardinality"): Amended]
class XeSqlPkg_query_optimizer_estimate_cardinality: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class query_optimizer_estimate_cardinality: XeSqlPkg_query_optimizer_estimate_cardinality
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 stats_collection_id;
	[WmiDataId(6), read] uint64 query_hash;
	[WmiDataId(7), read, Extension("WmiTime")] uint64 creation_time;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string input_relation;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string calculator;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string stats_collection;
};
		
[dynamic: ToInstance, Description("Both traceflags 2312 and 9481 were enabled, attempting to force both old and new cardinality estimation behaviors at the same time. The traceflags were ignored. Disable one or both of the traceflags."): Amended,
    Guid("{05abe294-71f2-44c6-8419-6618da97bf4e}"), locale("MS\\0x409"),
    DisplayName("query_optimizer_force_both_cardinality_estimation_behaviors"): Amended]
class XeSqlPkg_query_optimizer_force_both_cardinality_estimation_behaviors: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class query_optimizer_force_both_cardinality_estimation_behaviors: XeSqlPkg_query_optimizer_force_both_cardinality_estimation_behaviors
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
};
		
[dynamic: ToInstance, Description("Unpin index description"): Amended,
    Guid("{c93b0679-8fb1-4c0e-89a7-6994bb438014}"), locale("MS\\0x409"),
    DisplayName("index_description_unpin"): Amended]
class XeSqlPkg_index_description_unpin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class index_description_unpin: XeSqlPkg_index_description_unpin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read] sint32 index_id;
};
		
[dynamic: ToInstance, Description("An intrinsic operator identified in output tree (Matrix-specific)."): Amended,
    Guid("{278a3151-0584-4e77-b8b6-4c7ab39f1e17}"), locale("MS\\0x409"),
    DisplayName("query_plan_intrinsic_operators"): Amended]
class XeSqlPkg_query_plan_intrinsic_operators: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class query_plan_intrinsic_operators: XeSqlPkg_query_plan_intrinsic_operators
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string intrinsic_name;
};
		
[dynamic: ToInstance, Description("DML change based MD cache refresh info"): Amended,
    Guid("{c1471c11-ef36-4010-aa65-20769525f59c}"), locale("MS\\0x409"),
    DisplayName("change_based_metadata_cache_refresh"): Amended]
class XeSqlPkg_change_based_metadata_cache_refresh: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class change_based_metadata_cache_refresh: XeSqlPkg_change_based_metadata_cache_refresh
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read] uint64 rows_changed_count;
	[WmiDataId(8), read, 
				XEMapId(35),
				ValueMap { 
					"1", 
					"2" },
				Values { 
					"change_tracked", 
					"refresh_happened" }
			] uint8 process_stage;
};
		
[dynamic: ToInstance, Description("Matrix V1 Unsupported Feature"): Amended,
    Guid("{8D706F45-8621-4630-8925-3472978D995E}"), locale("MS\\0x409"),
    DisplayName("matrix_unsupported_feature"): Amended]
class XeSqlPkg_matrix_unsupported_feature: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class matrix_unsupported_feature: XeSqlPkg_matrix_unsupported_feature
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 source_database_id;
	[WmiDataId(6), read] uint32 line_no;
	[WmiDataId(7), read, 
				XEMapId(82),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7", 
					"8", 
					"9", 
					"10", 
					"11", 
					"12", 
					"13", 
					"14", 
					"15", 
					"16", 
					"17", 
					"18", 
					"19", 
					"20", 
					"21", 
					"22", 
					"23", 
					"24", 
					"25", 
					"26", 
					"27", 
					"28", 
					"29", 
					"30", 
					"31", 
					"32", 
					"33", 
					"34", 
					"35", 
					"36", 
					"37", 
					"38", 
					"39", 
					"40", 
					"41", 
					"42", 
					"43", 
					"44", 
					"45", 
					"46", 
					"47", 
					"48", 
					"49", 
					"50", 
					"51", 
					"52", 
					"53", 
					"54", 
					"55", 
					"56", 
					"57", 
					"58", 
					"59", 
					"60", 
					"61" },
				Values { 
					"Not specified", 
					"CLR User defined Aggregates", 
					"Change Data Capture", 
					"Change Tracking", 
					"XML Index", 
					"Spatial Index", 
					"Fulltext Catalog", 
					"Fulltext Index", 
					"Fulltext Stoplist", 
					"Filestream", 
					"Sparse Columns", 
					"Transparent Data Encryption", 
					"EKM Asymmetric Key", 
					"EKM Symmetric Key", 
					"Database auto_close", 
					"Partition Function", 
					"Four-part Synonyms", 
					"Tables with computed columns with TEXTPTR", 
					"Objects with features disabled", 
					"Numbered procs with features disabled", 
					"Sequence Objects", 
					"Plan Guide", 
					"Filtered Index and Stats", 
					"Columnstore Index", 
					"Selective XML Index", 
					"Distributed Query", 
					"EKM", 
					"User-defined extended stored procs", 
					".WRITE", 
					"Database Attach Rebuild Log", 
					"Database Snapshot", 
					"Online Index Build", 
					"Cursors (SCROLL_LOCKS)", 
					"Cursors (DYNAMIC)", 
					"Cursors (KEYSET ON HEAPS)", 
					"Legacy LOB Types", 
					"Endpoints", 
					"Resource Governor", 
					"OLE Automation", 
					"Openxml", 
					"Service Broker", 
					".MODIFY", 
					"OUTPUT clause(s)", 
					"Begin Distributed Transaction", 
					"Update through indexed views", 
					"TDS Distributed Transaction", 
					"T-SQL Debugging", 
					"Switching partition", 
					"Event Notification", 
					"Autopilot", 
					"Query Notification", 
					"Audit", 
					"Common Criteria Compliance", 
					"Kill UnitOfWork", 
					"Attach Matrix Database", 
					"AttachDbFilename Connection String Property", 
					"Detach Database", 
					"Configuration Options", 
					"Optimize for ad hoc workloads", 
					"Date Correlation Optimization", 
					"Replication", 
					"SQL Trace" }
			] uint32 feature_id;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("A new service broker instance is being added to broker instance hash-table"): Amended,
    Guid("{d2820d00-34b4-4387-845c-559013aa646e}"), locale("MS\\0x409"),
    DisplayName("broker_active_service_broker_addasb"): Amended]
class XeSqlPkg_broker_active_service_broker_addasb: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_active_service_broker_addasb: XeSqlPkg_broker_active_service_broker_addasb
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 new_dbid;
	[WmiDataId(6), read] sint8  new_enabled;
	[WmiDataId(7), read] uint32 existing_dbid;
	[WmiDataId(8), read] sint8  existing_enabled;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string new_dbname;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string existing_dbname;
	[WmiDataId(11), read, Extension("Guid")] guid broker_guid;
};
		
[dynamic: ToInstance, Description("Occurs when SQLExit() routine is invoked"): Amended,
    Guid("{0e6d80fb-8d56-43aa-92af-59598f6bd4c1}"), locale("MS\\0x409"),
    DisplayName("sql_exit_invoked"): Amended]
class XeSqlPkg_sql_exit_invoked: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sql_exit_invoked: XeSqlPkg_sql_exit_invoked
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 exit_code;
	[WmiDataId(6), read, 
				XEMapId(58),
				ValueMap { 
					"1", 
					"3", 
					"0", 
					"2" },
				Values { 
					"FAST_SHUTDOWN", 
					"NICE_SHUTDOWN", 
					"NOT_SHUTDOWN", 
					"ORDERLY_SHUTDOWN" }
			] uint32 shutdown_option;
};
		
[dynamic: ToInstance, Description("Profiles compile time. Equivalent to a combination of SQL Trace event 'Execution Warnings' and trace flag -T8783"): Amended,
    Guid("{a65c9461-0a17-46d8-9be3-69d2c434355d}"), locale("MS\\0x409"),
    DisplayName("profile_compile_time"): Amended]
class XeSqlPkg_profile_compile_time: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class profile_compile_time: XeSqlPkg_profile_compile_time
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 elapsed_since_start_ms;
};
		
[dynamic: ToInstance, Description("Occurs when a Transact-SQL batch has finished executing."): Amended,
    Guid("{A0E990B5-A402-4C21-8DBC-DB2AF21BF8DC}"), locale("MS\\0x409"),
    DisplayName("sql_batch_completed"): Amended]
class XeSqlPkg_sql_batch_completed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sql_batch_completed: XeSqlPkg_sql_batch_completed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 cpu_time;
	[WmiDataId(6), read] uint64 duration;
	[WmiDataId(7), read] uint64 physical_reads;
	[WmiDataId(8), read] uint64 logical_reads;
	[WmiDataId(9), read] uint64 writes;
	[WmiDataId(10), read] uint64 row_count;
	[WmiDataId(11), read, 
				XEMapId(32),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3" },
				Values { 
					"OK", 
					"Error", 
					"Abort", 
					"Skipped" }
			] uint8 result;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string batch_text;
};
		
[dynamic: ToInstance, Description("Occurs when a Transact-SQL batch has started executing."): Amended,
    Guid("{64E8ECCC-1DE0-405C-9B49-A4EA488FE9A4}"), locale("MS\\0x409"),
    DisplayName("sql_batch_starting"): Amended]
class XeSqlPkg_sql_batch_starting: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sql_batch_starting: XeSqlPkg_sql_batch_starting
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string batch_text;
};
		
[dynamic: ToInstance, Description("Occurs when a prelogin containing a traceid arrives on a connection."): Amended,
    Guid("{13CD126C-91D1-4261-98B5-6CC94141F921}"), locale("MS\\0x409"),
    DisplayName("prelogin_traceid"): Amended]
class XeSqlPkg_prelogin_traceid: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class prelogin_traceid: XeSqlPkg_prelogin_traceid
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 client_sequence;
	[WmiDataId(6), read, Extension("Guid")] guid client_connection_id;
	[WmiDataId(7), read, Extension("Guid")] guid client_activity_id;
};
		
[dynamic: ToInstance, Description("Occurs when the server determines a state change in term of session recovery on a connectionresilency-enabled connection."): Amended,
    Guid("{7b5be1d7-6145-44ad-a81e-1a876095f8f6}"), locale("MS\\0x409"),
    DisplayName("session_recoverable_state_change"): Amended]
class XeSqlPkg_session_recoverable_state_change: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class session_recoverable_state_change: XeSqlPkg_session_recoverable_state_change
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(76),
				ValueMap { 
					"4", 
					"9", 
					"12", 
					"3", 
					"16", 
					"13", 
					"1", 
					"7", 
					"15", 
					"14", 
					"11", 
					"8", 
					"18", 
					"17", 
					"0", 
					"2", 
					"5", 
					"6", 
					"10" },
				Values { 
					"ActiveTrans", 
					"ActiveTransaction", 
					"AppLock", 
					"AttnAborted", 
					"ContextInfoNoMemory", 
					"ExecuteAs", 
					"GeneralError", 
					"GlobalCursor", 
					"IdtFailed", 
					"IdtNoMemory", 
					"LobLocator", 
					"LocalCursor", 
					"ManualCommitUserXactActive", 
					"MaxSeqNoReached", 
					"NoError", 
					"SpResetConnNoTds", 
					"TempObj", 
					"Traceflg", 
					"XmlDoc" }
			] uint32 state;
};
		
[dynamic: ToInstance, Description("Occurs when a successful connection is made to the Server. This event is fired for new connection or when connections are reused from a connection pool"): Amended,
    Guid("{13e22e12-3cb8-49bf-a3e1-131faa95601c}"), locale("MS\\0x409"),
    DisplayName("login"): Amended]
class XeSqlPkg_login: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class login: XeSqlPkg_login
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint8  is_cached;
	[WmiDataId(6), read] sint8  is_dac;
	[WmiDataId(7), read] uint32 database_id;
	[WmiDataId(8), read] uint32 packet_size;
	[WmiDataId(9), read, Extension("Variant")] object options;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string options_text;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when a successful connection is made to the Server. This event is fired for new connection or when connections are reused from a connection pool"): Amended,
    Guid("{13e22e12-3cb8-49bf-a3e1-131faa95601c}"), locale("MS\\0x409"),
    DisplayName("login"): Amended]
class XeSqlPkg_login: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class login: XeSqlPkg_login
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint8  is_cached;
	[WmiDataId(6), read] sint8  is_recovered;
	[WmiDataId(7), read] sint8  is_dac;
	[WmiDataId(8), read] uint32 database_id;
	[WmiDataId(9), read] uint32 packet_size;
	[WmiDataId(10), read, Extension("Variant")] object options;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string options_text;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when a successful connection to the Server is reported to Windows using the User Access Logging API. This event is only fired for new connections. Connection resets are not tracked."): Amended,
    Guid("{d8c6e351-2c04-4fe2-9738-2fe88f4dff07}"), locale("MS\\0x409"),
    DisplayName("ual_instrument_called"): Amended]
class XeSqlPkg_ual_instrument_called: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class ual_instrument_called: XeSqlPkg_ual_instrument_called
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 hresult;
	[WmiDataId(6), read, Extension("Guid")] guid role_guid;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string ip_address;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string user_name;
};
		
[dynamic: ToInstance, Description("Occurs when a user has logged out of (logged off) the Server. This event is required in traces that will be used for Replay"): Amended,
    Guid("{1231d3bd-8d9a-4611-a117-c28cca483cf2}"), locale("MS\\0x409"),
    DisplayName("logout"): Amended]
class XeSqlPkg_logout: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class logout: XeSqlPkg_logout
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint8  is_cached;
	[WmiDataId(6), read] sint8  is_dac;
	[WmiDataId(7), read] uint64 duration;
	[WmiDataId(8), read] uint64 cpu_time;
	[WmiDataId(9), read] uint64 physical_reads;
	[WmiDataId(10), read] uint64 logical_reads;
	[WmiDataId(11), read] uint64 writes;
};
		
[dynamic: ToInstance, Description("Occurs when a user has logged out of (logged off) the Server. This event is required in traces that will be used for Replay"): Amended,
    Guid("{1231d3bd-8d9a-4611-a117-c28cca483cf2}"), locale("MS\\0x409"),
    DisplayName("logout"): Amended]
class XeSqlPkg_logout: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class logout: XeSqlPkg_logout
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint8  is_cached;
	[WmiDataId(6), read] sint8  is_recovered;
	[WmiDataId(7), read] sint8  is_dac;
	[WmiDataId(8), read] uint64 duration;
	[WmiDataId(9), read] uint64 cpu_time;
	[WmiDataId(10), read] uint64 physical_reads;
	[WmiDataId(11), read] uint64 logical_reads;
	[WmiDataId(12), read] uint64 writes;
};
		
[dynamic: ToInstance, Description("Occurs when received and parses data for a feature in feature extension."): Amended,
    Guid("{0dd44bd8-2e74-41be-9800-d31df5527e7a}"), locale("MS\\0x409"),
    DisplayName("feature_extension"): Amended]
class XeSqlPkg_feature_extension: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class feature_extension: XeSqlPkg_feature_extension
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint8 feature_id;
	[WmiDataId(6), read] uint32 feature_data_length;
	[WmiDataId(7), read] sint8  is_failure;
	[WmiDataId(8), read, Extension("Variant")] object feature_data;
};
		
[dynamic: ToInstance, Description("Indicates that a cancel operation, client-interrupt request, or broken client connection has occurred. Be aware that cancel operations can also occur as the result of implementing data access driver time-outs."): Amended,
    Guid("{4bbf00fa-5d53-4c65-b1dc-d21f52c44fa6}"), locale("MS\\0x409"),
    DisplayName("attention"): Amended]
class XeSqlPkg_attention: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class attention: XeSqlPkg_attention
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 duration;
	[WmiDataId(6), read] sint32 request_id;
};
		
[dynamic: ToInstance, Description("Occurs when an Extended Events session is started. To avoid duplicate (or secondary) existing_connection events when other Extended Events sessions are started, we recommend that you always use this event with the following predicate: WHERE started_event_session_name = 'your_event_session_name'."): Amended,
    Guid("{8643c6b9-3267-43c3-8b3a-1c6401c5561a}"), locale("MS\\0x409"),
    DisplayName("existing_connection"): Amended]
class XeSqlPkg_existing_connection: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class existing_connection: XeSqlPkg_existing_connection
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint16 session_id;
	[WmiDataId(6), read] sint8  is_dac;
	[WmiDataId(7), read] uint32 database_id;
	[WmiDataId(8), read] uint32 packet_size;
	[WmiDataId(9), read] uint32 transaction_count;
	[WmiDataId(10), read] uint32 group_id;
	[WmiDataId(11), read] uint64 duration;
	[WmiDataId(12), read] uint32 client_pid;
	[WmiDataId(13), read, Extension("Variant")] object options;
	[WmiDataId(14), read, StringTermination("NullTerminated"), Format("w")] string options_text;
	[WmiDataId(15), read, StringTermination("NullTerminated"), Format("w")] string started_event_session_name;
	[WmiDataId(16), read, StringTermination("NullTerminated"), Format("w")] string database_name;
	[WmiDataId(17), read, StringTermination("NullTerminated"), Format("w")] string client_app_name;
	[WmiDataId(18), read, StringTermination("NullTerminated"), Format("w")] string client_hostname;
	[WmiDataId(19), read, StringTermination("NullTerminated"), Format("w")] string nt_domain;
	[WmiDataId(20), read, StringTermination("NullTerminated"), Format("w")] string nt_user;
	[WmiDataId(21), read, StringTermination("NullTerminated"), Format("w")] string session_nt_domain;
	[WmiDataId(22), read, StringTermination("NullTerminated"), Format("w")] string session_nt_user;
	[WmiDataId(23), read, StringTermination("NullTerminated"), Format("w")] string server_principal_name;
	[WmiDataId(24), read, Extension("Variant")] object server_principal_sid;
	[WmiDataId(25), read, StringTermination("NullTerminated"), Format("w")] string session_server_principal_name;
	[WmiDataId(26), read, Extension("Variant")] object session_server_principal_sid;
};
		
[dynamic: ToInstance, Description("Occurs when the Server has been started or stopped"): Amended,
    Guid("{5360fe73-98a8-487c-b39a-807d795c0f7c}"), locale("MS\\0x409"),
    DisplayName("server_start_stop"): Amended]
class XeSqlPkg_server_start_stop: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class server_start_stop: XeSqlPkg_server_start_stop
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(2),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"4" },
				Values { 
					"Shutdown", 
					"Started", 
					"Paused", 
					"Continue" }
			] uint8 operation;
	[WmiDataId(6), read] sint8  success;
};
		
[dynamic: ToInstance, Description("Occurs when a stored procedure is not found in the procedure cache. Frequent occurrences of this event could indicate that SQL Server needs more memory.  Use this event along with other sp_cache_* events to troubleshoot issues caused by the procedure cache."): Amended,
    Guid("{1B67518B-9D33-4062-88B4-A574F18C6036}"), locale("MS\\0x409"),
    DisplayName("sp_cache_miss"): Amended]
class XeSqlPkg_sp_cache_miss: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sp_cache_miss: XeSqlPkg_sp_cache_miss
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string cached_text;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when a stored procedure is inserted into the procedure cache. Use this event together with other sp_cache_* events to troubleshoot issues that are caused by the procedure cache."): Amended,
    Guid("{e76803d5-7c1c-441d-bc2b-747a5e44611e}"), locale("MS\\0x409"),
    DisplayName("sp_cache_insert"): Amended]
class XeSqlPkg_sp_cache_insert: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sp_cache_insert: XeSqlPkg_sp_cache_insert
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint32 object_id;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string cached_text;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string database_name;
	[WmiDataId(11), read, Extension("Variant")] object plan_handle;
};
		
[dynamic: ToInstance, Description("Occurs when a stored procedure is removed from the procedure cache. Use this event together with other sp_cache_* events to troubleshoot issues that are caused by the procedure cache."): Amended,
    Guid("{7f666a7d-365e-404a-97cc-09ca8db1df41}"), locale("MS\\0x409"),
    DisplayName("sp_cache_remove"): Amended]
class XeSqlPkg_sp_cache_remove: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sp_cache_remove: XeSqlPkg_sp_cache_remove
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint32 object_id;
	[WmiDataId(8), read, 
				XEMapId(17),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"4", 
					"5" },
				Values { 
					"Compplan Remove", 
					"Proc Cache Flush", 
					"Object Plans Cache Flush", 
					"SQL Plans Cache Flush", 
					"Bound Trees Cache Flush" }
			] uint8 remove_method;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string cached_text;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string database_name;
	[WmiDataId(12), read, Extension("Variant")] object plan_handle;
};
		
[dynamic: ToInstance, Description("Occurs when a stored procedure is retrieve from the procedure cache. Use this event along with other sp_cache_* events to troubleshoot issues caused by the procedure cache."): Amended,
    Guid("{40e610a7-c77d-4c0b-ad3b-ecf828f10e03}"), locale("MS\\0x409"),
    DisplayName("sp_cache_hit"): Amended]
class XeSqlPkg_sp_cache_hit: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sp_cache_hit: XeSqlPkg_sp_cache_hit
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string cached_text;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string database_name;
	[WmiDataId(11), read, Extension("Variant")] object plan_handle;
};
		
[dynamic: ToInstance, Description("Occurs when a plan is shipped to another brick"): Amended,
    Guid("{2c95014e-717b-4c30-bfae-58df363dd314}"), locale("MS\\0x409"),
    DisplayName("sql_statement_plan_shipped"): Amended]
class XeSqlPkg_sql_statement_plan_shipped: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sql_statement_plan_shipped: XeSqlPkg_sql_statement_plan_shipped
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 target_brick_id;
	[WmiDataId(6), read] sint32 statement_start_offset;
	[WmiDataId(7), read] sint32 statement_end_offset;
	[WmiDataId(8), read, Extension("Variant")] object parent_plan_handle;
};
		
[dynamic: ToInstance, Description("Occurs when a plan is recieved from another brick"): Amended,
    Guid("{d1424328-ea7b-47bd-979f-541e10fc8594}"), locale("MS\\0x409"),
    DisplayName("sql_statement_plan_received"): Amended]
class XeSqlPkg_sql_statement_plan_received: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sql_statement_plan_received: XeSqlPkg_sql_statement_plan_received
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 statement_start_offset;
	[WmiDataId(6), read] sint32 statement_end_offset;
	[WmiDataId(7), read] uint32 source_brick_id;
	[WmiDataId(8), read, Extension("Variant")] object plan_handle;
	[WmiDataId(9), read, Extension("Variant")] object parent_plan_handle;
};
		
[dynamic: ToInstance, Description("Occurs when an object was created by the CREATE statement. This event is raised two times for every CREATE operation. The event is raised when the operation begins and when the operation is either rolled back or committed. Add the nt_username or server_principal_name actions to this event to determine who altered the object."): Amended,
    Guid("{8f12557e-084e-4868-a65a-883c281cfe62}"), locale("MS\\0x409"),
    DisplayName("object_created"): Amended]
class XeSqlPkg_object_created: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class object_created: XeSqlPkg_object_created
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(8), read] uint32 index_id;
	[WmiDataId(9), read] sint32 related_object_id;
	[WmiDataId(10), read, 
				XEMapId(4),
				ValueMap { 
					"0", 
					"1", 
					"2" },
				Values { 
					"Begin", 
					"Commit", 
					"Rollback" }
			] uint8 ddl_phase;
	[WmiDataId(11), read] sint64 transaction_id;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when an object was deleted by the DROP statement. This event is raised two times for every DROP operation. The event is raised when the operation begins and when the operation is either rolled back or committed. Add the nt_username or server_principal_name actions to this event to determine who altered the object."): Amended,
    Guid("{193c8860-07f9-4336-92ca-9a0cb80c1bd4}"), locale("MS\\0x409"),
    DisplayName("object_deleted"): Amended]
class XeSqlPkg_object_deleted: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class object_deleted: XeSqlPkg_object_deleted
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(8), read] uint32 index_id;
	[WmiDataId(9), read] sint32 related_object_id;
	[WmiDataId(10), read, 
				XEMapId(4),
				ValueMap { 
					"0", 
					"1", 
					"2" },
				Values { 
					"Begin", 
					"Commit", 
					"Rollback" }
			] uint8 ddl_phase;
	[WmiDataId(11), read] sint64 transaction_id;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when a statement is defined for a cursor, the cursor properties are set, and the cursor is populated. Use this event to troubleshoot cursor performance issues."): Amended,
    Guid("{98258dbc-73ce-4c0e-99e6-6d0a191089d5}"), locale("MS\\0x409"),
    DisplayName("cursor_open"): Amended]
class XeSqlPkg_cursor_open: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_open: XeSqlPkg_cursor_open
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(79),
				BitMap { 
					"2031616", 
					"16", 
					"2093087", 
					"16384", 
					"8192", 
					"32768", 
					"2", 
					"4", 
					"8", 
					"1", 
					"4096", 
					"31", 
					"0" },
				BitValues { 
					"AcceptedTypeMask", 
					"AcceptedTypesOffset", 
					"AllScOptBits", 
					"AutoClose", 
					"AutoFetch", 
					"CheckAcceptedTypes", 
					"Dynamic", 
					"ForwardOnly", 
					"Insensitive", 
					"Keyset", 
					"ParameterizeStmt", 
					"ScrollOptMask", 
					"UnInitialized" }
			] uint32 cursor_type;
	[WmiDataId(6), read] sint32 protocol_execution_id;
};
		
[dynamic: ToInstance, Description("Occurs when index and column statistics are automatically updated. This event can be generated multiple times per statistics collection when the update is asynchronous."): Amended,
    Guid("{9237e17a-a73d-4832-8936-f319e19e219b}"), locale("MS\\0x409"),
    DisplayName("auto_stats"): Amended]
class XeSqlPkg_auto_stats: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class auto_stats: XeSqlPkg_auto_stats
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read] uint32 index_id;
	[WmiDataId(8), read] sint32 job_id;
	[WmiDataId(9), read, 
				XEMapId(59),
				ValueMap { 
					"1", 
					"0" },
				Values { 
					"Invalid", 
					"StatsUpdate" }
			] uint8 job_type;
	[WmiDataId(10), read, 
				XEMapId(15),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7", 
					"8", 
					"9", 
					"10" },
				Values { 
					"Other", 
					"Queued", 
					"Starting", 
					"Completed", 
					"Failed to obtain schema lock on table", 
					"Failed to obtain schema lock on stats", 
					"Failed to save computed stats", 
					"Loading and updating stats", 
					"Loading stats without updating", 
					"Checking mod-counter" }
			] uint8 status;
	[WmiDataId(11), read] uint64 duration;
	[WmiDataId(12), read] uint16 retries;
	[WmiDataId(13), read] sint8  success;
	[WmiDataId(14), read] sint32 last_error;
	[WmiDataId(15), read] uint32 count;
	[WmiDataId(16), read, StringTermination("NullTerminated"), Format("w")] string statistics_list;
	[WmiDataId(17), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when a statement that contains a cursor declaration is compiled into an execution plan, but before the cursor is opened. Use this event to troubleshoot cursor performance issues."): Amended,
    Guid("{32d33a3a-7847-4c2e-8208-2473da166d25}"), locale("MS\\0x409"),
    DisplayName("cursor_prepare"): Amended]
class XeSqlPkg_cursor_prepare: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_prepare: XeSqlPkg_cursor_prepare
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 protocol_execution_id;
};
		
[dynamic: ToInstance, Description("Occurs when a Transact-SQL statement was prepared by SQLClient, ODBC, OLE DB or DB-Library."): Amended,
    Guid("{0e1bd106-96a6-4d82-893e-99aa94749922}"), locale("MS\\0x409"),
    DisplayName("prepare_sql"): Amended]
class XeSqlPkg_prepare_sql: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class prepare_sql: XeSqlPkg_prepare_sql
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 statement_handle;
};
		
[dynamic: ToInstance, Description("Occurs when a prepared Transact-SQL statement was executed by SQLClient, ODBC, OLE DB or DB-Library."): Amended,
    Guid("{668c6143-20b7-4dd4-9748-fc09e8528739}"), locale("MS\\0x409"),
    DisplayName("exec_prepared_sql"): Amended]
class XeSqlPkg_exec_prepared_sql: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class exec_prepared_sql: XeSqlPkg_exec_prepared_sql
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 statement_handle;
};
		
[dynamic: ToInstance, Description("Occurs when a prepared Transact-SQL statement was unprepared (deleted) by SQLClient, ODBC, OLE DB or DB-Library."): Amended,
    Guid("{7e21d184-d6eb-4590-965b-e1914878894e}"), locale("MS\\0x409"),
    DisplayName("unprepare_sql"): Amended]
class XeSqlPkg_unprepare_sql: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class unprepare_sql: XeSqlPkg_unprepare_sql
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 statement_handle;
};
		
[dynamic: ToInstance, Description("Occurs when a cursor is created and executed. This event is used for troubleshooting cursor performance issues."): Amended,
    Guid("{95a4e1f5-a1e6-4be4-8bd7-59576afcc02b}"), locale("MS\\0x409"),
    DisplayName("cursor_execute"): Amended]
class XeSqlPkg_cursor_execute: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_execute: XeSqlPkg_cursor_execute
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(79),
				BitMap { 
					"2031616", 
					"16", 
					"2093087", 
					"16384", 
					"8192", 
					"32768", 
					"2", 
					"4", 
					"8", 
					"1", 
					"4096", 
					"31", 
					"0" },
				BitValues { 
					"AcceptedTypeMask", 
					"AcceptedTypesOffset", 
					"AllScOptBits", 
					"AutoClose", 
					"AutoFetch", 
					"CheckAcceptedTypes", 
					"Dynamic", 
					"ForwardOnly", 
					"Insensitive", 
					"Keyset", 
					"ParameterizeStmt", 
					"ScrollOptMask", 
					"UnInitialized" }
			] uint32 cursor_type;
	[WmiDataId(6), read] sint32 protocol_execution_id;
};
		
[dynamic: ToInstance, Description("Occurs when an execution plan that contains a cursor is recompiled. Use this event to troubleshoot cursor performance issues."): Amended,
    Guid("{76fccb8a-fb42-42ff-a9a0-36881f89b27b}"), locale("MS\\0x409"),
    DisplayName("cursor_recompile"): Amended]
class XeSqlPkg_cursor_recompile: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_recompile: XeSqlPkg_cursor_recompile
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
};
		
[dynamic: ToInstance, Description("Occurs when a cursor is converted to a different cursor type because the requested cursor does not support the statement that is being executed. This event is used to troubleshoot cursor performance issues."): Amended,
    Guid("{44411821-64c0-4d1b-829e-1b323aef8ad5}"), locale("MS\\0x409"),
    DisplayName("cursor_implicit_conversion"): Amended]
class XeSqlPkg_cursor_implicit_conversion: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_implicit_conversion: XeSqlPkg_cursor_implicit_conversion
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(79),
				BitMap { 
					"2031616", 
					"16", 
					"2093087", 
					"16384", 
					"8192", 
					"32768", 
					"2", 
					"4", 
					"8", 
					"1", 
					"4096", 
					"31", 
					"0" },
				BitValues { 
					"AcceptedTypeMask", 
					"AcceptedTypesOffset", 
					"AllScOptBits", 
					"AutoClose", 
					"AutoFetch", 
					"CheckAcceptedTypes", 
					"Dynamic", 
					"ForwardOnly", 
					"Insensitive", 
					"Keyset", 
					"ParameterizeStmt", 
					"ScrollOptMask", 
					"UnInitialized" }
			] uint32 final_cursor_type;
	[WmiDataId(6), read] sint32 protocol_execution_id;
	[WmiDataId(7), read, 
				XEMapId(79),
				BitMap { 
					"2031616", 
					"16", 
					"2093087", 
					"16384", 
					"8192", 
					"32768", 
					"2", 
					"4", 
					"8", 
					"1", 
					"4096", 
					"31", 
					"0" },
				BitValues { 
					"AcceptedTypeMask", 
					"AcceptedTypesOffset", 
					"AllScOptBits", 
					"AutoClose", 
					"AutoFetch", 
					"CheckAcceptedTypes", 
					"Dynamic", 
					"ForwardOnly", 
					"Insensitive", 
					"Keyset", 
					"ParameterizeStmt", 
					"ScrollOptMask", 
					"UnInitialized" }
			] uint32 initial_cursor_type;
};
		
[dynamic: ToInstance, Description("Occurs when an execution plan that contains a cursor is discarded. Use this event to troubleshoot cursor performance issues."): Amended,
    Guid("{ceeaf67a-6f1f-43b2-9eb5-0d4acb85625f}"), locale("MS\\0x409"),
    DisplayName("cursor_unprepare"): Amended]
class XeSqlPkg_cursor_unprepare: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_unprepare: XeSqlPkg_cursor_unprepare
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 protocol_execution_id;
};
		
[dynamic: ToInstance, Description("Occurs when a cursor is deallocated. This event is used for troubleshooting cursor performance issues."): Amended,
    Guid("{05131857-068b-4f43-ad72-b5c1253b57c8}"), locale("MS\\0x409"),
    DisplayName("cursor_close"): Amended]
class XeSqlPkg_cursor_close: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class cursor_close: XeSqlPkg_cursor_close
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 protocol_execution_id;
};
		
[dynamic: ToInstance, Description("Occurs when a query accesses a column that does not have statistics available that could have been useful for query optimization. Use this event to identify queries that may be using sub-optimal plans. This event is only generated when the Auto Create Statistics option is turned off."): Amended,
    Guid("{348f8b08-8b68-403a-902e-99c978c979d6}"), locale("MS\\0x409"),
    DisplayName("missing_column_statistics"): Amended]
class XeSqlPkg_missing_column_statistics: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class missing_column_statistics: XeSqlPkg_missing_column_statistics
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string column_list;
};
		
[dynamic: ToInstance, Description("Occurs when an executed query is missing a join predicate. Use this event to identify a query that may perform slowly because of the missing predicate. This event only occurs if both sides of the join return more than one row."): Amended,
    Guid("{ca826770-dad0-49d1-9332-60ec980ff82f}"), locale("MS\\0x409"),
    DisplayName("missing_join_predicate"): Amended]
class XeSqlPkg_missing_join_predicate: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class missing_join_predicate: XeSqlPkg_missing_join_predicate
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
};
		
[dynamic: ToInstance, Description("Occurs when a DML operation that is intended to overwrite only part of a large column value is forced to rewrite the entire value.  This happens if the table's heap or clustered index is being built online.  Use this event to identify DML workloads that are running more slowly as a result of building an index online."): Amended,
    Guid("{e8497c9a-731c-4ea8-b9d0-1360b2d400b7}"), locale("MS\\0x409"),
    DisplayName("full_update_instead_of_partial_update"): Amended]
class XeSqlPkg_full_update_instead_of_partial_update: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class full_update_instead_of_partial_update: XeSqlPkg_full_update_instead_of_partial_update
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint8  compile_time;
};
		
[dynamic: ToInstance, Description("Occurs when sp_trace_generateevent is called. Use this event to monitor user-defined events in your application code during testing or execution. The data that is returned from user_event includes the event_id that was specified in the call to sp_trace_generateevent. This can be a value between 82 and 91."): Amended,
    Guid("{c0c56062-3934-414b-b6db-0981057f403c}"), locale("MS\\0x409"),
    DisplayName("user_event"): Amended]
class XeSqlPkg_user_event: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class user_event: XeSqlPkg_user_event
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 event_id;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string user_info;
	[WmiDataId(7), read, Extension("Variant")] object user_data;
};
		
[dynamic: ToInstance, Description("Occurs when an OLEDB Call to a remote provider returns an error. Use this event to view the Hresult returned from failed OLEDB Calls"): Amended,
    Guid("{f15576a1-4e4d-46af-8901-1d8272120e36}"), locale("MS\\0x409"),
    DisplayName("oledb_error"): Amended]
class XeSqlPkg_oledb_error: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class oledb_error: XeSqlPkg_oledb_error
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 hresult;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string message;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string linked_server_name;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string provider_name;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string method_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string parameters;
};
		
[dynamic: ToInstance, Description("Occurs when SQL Server calls on OLEDB provider for a distributed query or remote stored procedure. Use this event to monitor OLEDB calls that do not return data or that do not use the QueryInterface method. This event will be trigged twice for each OLEDB call, once when it starts and once when it completes"): Amended,
    Guid("{0cdc48a4-86cf-44c2-8acd-94073662437c}"), locale("MS\\0x409"),
    DisplayName("oledb_call"): Amended]
class XeSqlPkg_oledb_call: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class oledb_call: XeSqlPkg_oledb_call
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(3),
				ValueMap { 
					"0", 
					"1" },
				Values { 
					"Begin", 
					"End" }
			] uint32 opcode;
	[WmiDataId(6), read] sint32 hresult;
	[WmiDataId(7), read] uint64 duration;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string linked_server_name;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string provider_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string method_name;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string parameters;
};
		
[dynamic: ToInstance, Description("Occurs when SQL Server calls on OLEDB provider for a distributed query or remote stored procedure. Use this event to monitor OLEDB calls that use the QueryInterface method. This event will be trigged twice for each OLEDB call, once when it starts and once when it completes"): Amended,
    Guid("{9d6c63bf-9beb-4ea8-bb5d-08e0c69cb9bc}"), locale("MS\\0x409"),
    DisplayName("oledb_query_interface"): Amended]
class XeSqlPkg_oledb_query_interface: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class oledb_query_interface: XeSqlPkg_oledb_query_interface
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(3),
				ValueMap { 
					"0", 
					"1" },
				Values { 
					"Begin", 
					"End" }
			] uint32 opcode;
	[WmiDataId(6), read] sint32 hresult;
	[WmiDataId(7), read] uint64 duration;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string linked_server_name;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string provider_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string method_name;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string parameters;
};
		
[dynamic: ToInstance, Description("Occurs when SQL Server calls on OLEDB provider for a distributed query or remote stored procedure. Use this event to monitor OLEDB calls that make data requests to the OLEDB provider. This event will be trigged twice for each OLEDB call, once when it starts and once when it completes"): Amended,
    Guid("{2849c834-5454-4fc9-a854-f716716ec9f8}"), locale("MS\\0x409"),
    DisplayName("oledb_data_read"): Amended]
class XeSqlPkg_oledb_data_read: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class oledb_data_read: XeSqlPkg_oledb_data_read
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(3),
				ValueMap { 
					"0", 
					"1" },
				Values { 
					"Begin", 
					"End" }
			] uint32 opcode;
	[WmiDataId(6), read] sint32 hresult;
	[WmiDataId(7), read] uint64 duration;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string linked_server_name;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string provider_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string method_name;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string parameters;
};
		
[dynamic: ToInstance, Description("Reports the progress of a Service Broker conversation. This event occurs when specific actions that are defined in the conversation_action field occur."): Amended,
    Guid("{bdc1662a-dfe1-46a7-8a2e-3bb79329fd88}"), locale("MS\\0x409"),
    DisplayName("broker_conversation"): Amended]
class XeSqlPkg_broker_conversation: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_conversation: XeSqlPkg_broker_conversation
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read, 
				XEMapId(26),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7", 
					"8", 
					"9", 
					"10", 
					"11", 
					"12", 
					"13" },
				Values { 
					"Send Message", 
					"End Conversation", 
					"End Conversation with Error", 
					"Broker Initiated Error", 
					"Terminate Dialog", 
					"Received Sequenced Message", 
					"Received END CONVERSATION", 
					"Received END CONVERSATION WITH ERROR", 
					"Received Broker Error Message", 
					"Received END CONVERSATION Acknowledgement", 
					"BEGIN DIALOG", 
					"Dialog Created", 
					"END CONVERSATION WITH CLEANUP" }
			] uint8 conversation_action;
	[WmiDataId(7), read] sint8  is_initiator;
	[WmiDataId(8), read, 
				XEMapId(12),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6" },
				Values { 
					"STARTED_INBOUND", 
					"STARTED_OUTBOUND", 
					"CONVERSING", 
					"DISCONNECTED_INBOUND", 
					"ERROR", 
					"DISCONNECT_OUTBOUND", 
					"CLOSED" }
			] sint32 conversation_state;
	[WmiDataId(9), read, Extension("Guid")] guid conversation_id;
	[WmiDataId(10), read, Extension("Guid")] guid conversation_handle;
	[WmiDataId(11), read, Extension("Guid")] guid conversation_group_id;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string initiator_service_name;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string initiator_broker_name;
	[WmiDataId(14), read, StringTermination("NullTerminated"), Format("w")] string target_service_name;
	[WmiDataId(15), read, StringTermination("NullTerminated"), Format("w")] string target_broker_name;
	[WmiDataId(16), read, StringTermination("NullTerminated"), Format("w")] string service_contract_name;
	[WmiDataId(17), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when Service Broker creates or deletes a conversation group."): Amended,
    Guid("{a86ca192-b1a2-4f35-b6e5-100857e2fdc5}"), locale("MS\\0x409"),
    DisplayName("broker_conversation_group"): Amended]
class XeSqlPkg_broker_conversation_group: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_conversation_group: XeSqlPkg_broker_conversation_group
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(25),
				ValueMap { 
					"1", 
					"2" },
				Values { 
					"Create", 
					"Drop" }
			] uint8 conversation_group_action;
	[WmiDataId(6), read, Extension("Guid")] guid conversation_group_id;
};
		
[dynamic: ToInstance, Description("Occurs when Service Broker forwards a message."): Amended,
    Guid("{4c7716b7-86a3-4d5c-8789-9f2b413907b0}"), locale("MS\\0x409"),
    DisplayName("broker_forwarded_message_sent"): Amended]
class XeSqlPkg_broker_forwarded_message_sent: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_forwarded_message_sent: XeSqlPkg_broker_forwarded_message_sent
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint8  is_initiator;
	[WmiDataId(6), read] sint32 fragment_number;
	[WmiDataId(7), read] sint64 message_sequence;
	[WmiDataId(8), read] uint8 remaining_hop_count;
	[WmiDataId(9), read] uint32 time_to_live_sec;
	[WmiDataId(10), read] uint32 live_time_sec;
	[WmiDataId(11), read, Extension("Guid")] guid conversation_id;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string message_type_name;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string from_service_name;
	[WmiDataId(14), read, StringTermination("NullTerminated"), Format("w")] string from_broker_name;
	[WmiDataId(15), read, StringTermination("NullTerminated"), Format("w")] string to_service_name;
	[WmiDataId(16), read, StringTermination("NullTerminated"), Format("w")] string to_broker_name;
	[WmiDataId(17), read, StringTermination("NullTerminated"), Format("w")] string service_contract_name;
};
		
[dynamic: ToInstance, Description("Occurs when Service Broker drops a message that was intended to be forwarded."): Amended,
    Guid("{35fc3a3c-1882-49cb-8f36-af10abb21ad9}"), locale("MS\\0x409"),
    DisplayName("broker_forwarded_message_dropped"): Amended]
class XeSqlPkg_broker_forwarded_message_dropped: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_forwarded_message_dropped: XeSqlPkg_broker_forwarded_message_dropped
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 error_number;
	[WmiDataId(6), read] sint32 error_severity;
	[WmiDataId(7), read] sint32 error_state;
	[WmiDataId(8), read] sint8  is_initiator;
	[WmiDataId(9), read] sint64 message_sequence;
	[WmiDataId(10), read] sint32 fragment_number;
	[WmiDataId(11), read] uint8 remaining_hop_count;
	[WmiDataId(12), read] uint32 time_to_live_sec;
	[WmiDataId(13), read] uint32 live_time_sec;
	[WmiDataId(14), read, Extension("Guid")] guid conversation_id;
	[WmiDataId(15), read, StringTermination("NullTerminated"), Format("w")] string dropped_reason;
	[WmiDataId(16), read, StringTermination("NullTerminated"), Format("w")] string from_service_name;
	[WmiDataId(17), read, StringTermination("NullTerminated"), Format("w")] string from_broker_name;
	[WmiDataId(18), read, StringTermination("NullTerminated"), Format("w")] string to_service_name;
	[WmiDataId(19), read, StringTermination("NullTerminated"), Format("w")] string to_broker_name;
	[WmiDataId(20), read, StringTermination("NullTerminated"), Format("w")] string message_type_name;
	[WmiDataId(21), read, StringTermination("NullTerminated"), Format("w")] string service_contract_name;
};
		
[dynamic: ToInstance, Description("Occurs when Service Broker drops a message that was intended to be forwarded."): Amended,
    Guid("{716f09c4-1d91-4af1-8d65-b685fb05afca}"), locale("MS\\0x409"),
    DisplayName("broker_message_classify"): Amended]
class XeSqlPkg_broker_message_classify: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_message_classify: XeSqlPkg_broker_message_classify
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 delayed_error_number;
	[WmiDataId(6), read, 
				XEMapId(28),
				ValueMap { 
					"0", 
					"1" },
				Values { 
					"Transport", 
					"Local" }
			] uint8 message_source;
	[WmiDataId(7), read] sint8  is_initiator;
	[WmiDataId(8), read, 
				XEMapId(27),
				ValueMap { 
					"1", 
					"2", 
					"3" },
				Values { 
					"Local", 
					"Remote", 
					"Delayed" }
			] uint8 route_type;
	[WmiDataId(9), read, Extension("Guid")] guid conversation_id;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string delayed_error;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string next_hop_broker_instance;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string next_hop_address;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string to_broker_instance;
	[WmiDataId(14), read, StringTermination("NullTerminated"), Format("w")] string to_service_name;
};
		
[dynamic: ToInstance, Description("Occurs when an exception is encountered during the processing of transmission objects"): Amended,
    Guid("{678f6c82-bd0a-447c-ba22-182b7c24f67b}"), locale("MS\\0x409"),
    DisplayName("broker_transmission_exception"): Amended]
class XeSqlPkg_broker_transmission_exception: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_transmission_exception: XeSqlPkg_broker_transmission_exception
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 error_number;
	[WmiDataId(6), read] sint32 error_severity;
	[WmiDataId(7), read] sint32 error_state;
	[WmiDataId(8), read] sint8  is_initiator;
	[WmiDataId(9), read, Extension("Guid")] guid conversation_id;
};
		
[dynamic: ToInstance, Description("Occurs when a Service Broker queue is disabled."): Amended,
    Guid("{802d00c5-37a3-47d1-b0d2-1d38dfa44d4a}"), locale("MS\\0x409"),
    DisplayName("broker_queue_disabled"): Amended]
class XeSqlPkg_broker_queue_disabled: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_queue_disabled: XeSqlPkg_broker_queue_disabled
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 queue_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs every time Service Broker receives an open or close connection request from either of the mirrored instances."): Amended,
    Guid("{19a973b4-ce7b-4274-9042-d77671c6ecf7}"), locale("MS\\0x409"),
    DisplayName("broker_mirrored_route_state_changed"): Amended]
class XeSqlPkg_broker_mirrored_route_state_changed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_mirrored_route_state_changed: XeSqlPkg_broker_mirrored_route_state_changed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(30),
				ValueMap { 
					"1", 
					"2", 
					"3" },
				Values { 
					"Operational", 
					"Operational with principal only", 
					"Not operational" }
			] uint8 mirrored_route_state;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string address_mirror;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string address_principal;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string error_message_mirror;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string error_message_prinicipal;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string mirroring_role_mirror;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string mirroring_role_principal;
};
		
[dynamic: ToInstance, Description("Occurs when Service Broker sends or receives a message acknowledgement."): Amended,
    Guid("{839ba147-249a-438b-b137-faa0dc1acaed}"), locale("MS\\0x409"),
    DisplayName("broker_remote_message_acknowledgement"): Amended]
class XeSqlPkg_broker_remote_message_acknowledgement: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_remote_message_acknowledgement: XeSqlPkg_broker_remote_message_acknowledgement
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(31),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"4" },
				Values { 
					"Message with Acknowledgement Sent", 
					"Acknowledgement Sent", 
					"Message with Acknowledgement Received", 
					"Acknowledgement Received" }
			] uint8 acknowledgement_type;
	[WmiDataId(6), read] sint8  is_initiator;
	[WmiDataId(7), read] sint32 fragment_number;
	[WmiDataId(8), read] sint32 acknowledgement_fragment_number;
	[WmiDataId(9), read] sint64 message_sequence;
	[WmiDataId(10), read] sint64 acknowlegment_message_sequence;
	[WmiDataId(11), read] sint8 priority;
	[WmiDataId(12), read] sint8  is_honor_broker_priority;
	[WmiDataId(13), read, Extension("Guid")] guid conversation_id;
};
		
[dynamic: ToInstance, Description("Occurs when a full-text crawl (population) is started. Use this event to monitor full-text crawl operations."): Amended,
    Guid("{b6689e91-1127-4d47-b629-dc45a4e495a6}"), locale("MS\\0x409"),
    DisplayName("full_text_crawl_started"): Amended]
class XeSqlPkg_full_text_crawl_started: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class full_text_crawl_started: XeSqlPkg_full_text_crawl_started
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(62),
				ValueMap { 
					"4", 
					"1", 
					"2", 
					"3", 
					"0" },
				Values { 
					"AUTOPROP", 
					"FULLCRAWL", 
					"INCREMENTALCRAWL", 
					"MANUALPROP", 
					"NONE" }
			] uint8 crawl_operation;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read] uint32 database_id;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when a full-text crawl (population) is stopped. Use this event to monitor full-text crawl operations."): Amended,
    Guid("{4a8e5d3f-da09-4226-a51c-afc876fb5ff5}"), locale("MS\\0x409"),
    DisplayName("full_text_crawl_stopped"): Amended]
class XeSqlPkg_full_text_crawl_stopped: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class full_text_crawl_stopped: XeSqlPkg_full_text_crawl_stopped
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 object_id;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when a Service Broker message cannot be delivered. This can occur for several reasons, such as the target Service Broker is unreachable, the target queue is unavailable, the message is out of order, there are time-outs because of in-memory lists, or there is a failure to classify the message."): Amended,
    Guid("{0c651184-dbed-4226-a0e4-8853b8f602d3}"), locale("MS\\0x409"),
    DisplayName("broker_message_undeliverable"): Amended]
class XeSqlPkg_broker_message_undeliverable: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_message_undeliverable: XeSqlPkg_broker_message_undeliverable
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 error_number;
	[WmiDataId(6), read] sint32 error_severity;
	[WmiDataId(7), read] sint32 error_state;
	[WmiDataId(8), read] sint32 acknowledgement_fragment_number;
	[WmiDataId(9), read] sint32 message_fragment_number;
	[WmiDataId(10), read] sint64 acknowledgement_sequence_number;
	[WmiDataId(11), read] sint64 message_sequence_number;
	[WmiDataId(12), read, 
				XEMapId(29),
				ValueMap { 
					"1", 
					"2" },
				Values { 
					"Sequenced Message", 
					"Unsequenced Message" }
			] uint8 sequenced_message;
	[WmiDataId(13), read] sint8  is_initiator;
	[WmiDataId(14), read, Extension("Guid")] guid conversation_id;
	[WmiDataId(15), read, StringTermination("NullTerminated"), Format("w")] string message_drop_reason;
	[WmiDataId(16), read, StringTermination("NullTerminated"), Format("w")] string message_type_name;
	[WmiDataId(17), read, StringTermination("NullTerminated"), Format("w")] string service_contract_name;
	[WmiDataId(18), read, StringTermination("NullTerminated"), Format("w")] string from_service_name;
	[WmiDataId(19), read, StringTermination("NullTerminated"), Format("w")] string from_broker_name;
	[WmiDataId(20), read, StringTermination("NullTerminated"), Format("w")] string to_service_name;
	[WmiDataId(21), read, StringTermination("NullTerminated"), Format("w")] string to_broker_name;
};
		
[dynamic: ToInstance, Description("Occurs when Service Broker receives a corrupted message."): Amended,
    Guid("{4e21046b-a71b-4efe-a847-1c5ce7598268}"), locale("MS\\0x409"),
    DisplayName("broker_corrupted_message"): Amended]
class XeSqlPkg_broker_corrupted_message: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_corrupted_message: XeSqlPkg_broker_corrupted_message
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 error_number;
	[WmiDataId(6), read] sint32 error_severity;
	[WmiDataId(7), read] sint32 error_state;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string corruption_description;
};
		
[dynamic: ToInstance, Description("Occurs when a Service Broker queue monitor starts an activation stored procedure, sends a QUEUE_ACTIVATION notification, or when an activation stored procedure exits."): Amended,
    Guid("{cfff4412-05af-4613-9342-323b668d8d6a}"), locale("MS\\0x409"),
    DisplayName("broker_activation"): Amended]
class XeSqlPkg_broker_activation: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class broker_activation: XeSqlPkg_broker_activation
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(24),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6" },
				Values { 
					"Started", 
					"Ended", 
					"Aborted", 
					"Notified", 
					"Task Output", 
					"Failed to start" }
			] uint8 activation_state;
	[WmiDataId(6), read] sint32 active_task_count;
	[WmiDataId(7), read] uint64 cpu_time;
	[WmiDataId(8), read] uint64 duration;
	[WmiDataId(9), read] sint32 queue_id;
	[WmiDataId(10), read] uint64 physical_reads;
	[WmiDataId(11), read] uint64 logical_reads;
	[WmiDataId(12), read] uint64 writes;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string activation_message;
};
		
[dynamic: ToInstance, Description("Occurs when an object was altered by the ALTER statement. This event is raised two times for every ALTER operation. The event is raised when the operation begins and when the operation is either rolled back or committed. Add the nt_username or server_principal_name actions to this event to determine who altered the object."): Amended,
    Guid("{2704947d-94b0-413e-b545-3c27641e20e2}"), locale("MS\\0x409"),
    DisplayName("object_altered"): Amended]
class XeSqlPkg_object_altered: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class object_altered: XeSqlPkg_object_altered
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(8), read] uint32 index_id;
	[WmiDataId(9), read] sint32 related_object_id;
	[WmiDataId(10), read, 
				XEMapId(4),
				ValueMap { 
					"0", 
					"1", 
					"2" },
				Values { 
					"Begin", 
					"Commit", 
					"Rollback" }
			] uint8 ddl_phase;
	[WmiDataId(11), read] sint64 transaction_id;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when a query plan is removed from the plan cache and the historical statistics for the object are about to be destroyed."): Amended,
    Guid("{1c54e55d-c3f0-43e5-95f3-f21801aaaa59}"), locale("MS\\0x409"),
    DisplayName("query_cache_removal_statistics"): Amended]
class XeSqlPkg_query_cache_removal_statistics: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class query_cache_removal_statistics: XeSqlPkg_query_cache_removal_statistics
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 recompile_count;
	[WmiDataId(6), read, 
				XEMapId(19),
				ValueMap { 
					"1", 
					"2", 
					"3" },
				Values { 
					"Query from Stored Procedure or Batch", 
					"Stored Procedure", 
					"Trigger" }
			] uint8 compiled_object_type;
	[WmiDataId(7), read] sint32 compiled_object_id;
	[WmiDataId(8), read] sint32 begin_offset;
	[WmiDataId(9), read] sint32 end_offset;
	[WmiDataId(10), read, Extension("Variant")] object plan_handle;
	[WmiDataId(11), read, Extension("Variant")] object sql_handle;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string execution_statistics;
};
		
[dynamic: ToInstance, Description("Occurs when a statement-level recompilation is required by any kind of batch. This includes stored procedures, triggers, ad hoc batches and queries. Batches may be submitted through several interfaces, including sp_executesql, dynamic SQL, Prepare methods or Execute methods."): Amended,
    Guid("{1DB98BAA-CD00-4F62-B124-45B18AB6C02D}"), locale("MS\\0x409"),
    DisplayName("sql_statement_recompile"): Amended]
class XeSqlPkg_sql_statement_recompile: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sql_statement_recompile: XeSqlPkg_sql_statement_recompile
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(33),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7", 
					"8", 
					"9", 
					"10", 
					"11", 
					"12", 
					"13", 
					"14", 
					"15", 
					"16" },
				Values { 
					"Schema changed", 
					"Statistics changed", 
					"Deferred compile", 
					"Set option change", 
					"Temp table changed", 
					"Remote rowset changed", 
					"For browse permissions changed", 
					"Query notification environment changed", 
					"PartitionView changed", 
					"Cursor options changed", 
					"Option (recompile) requested", 
					"Parameterized plan flushed", 
					"Test plan linearization", 
					"Plan affecting database version changed", 
					"QDS plan forcing policy changed", 
					"QDS plan forcing failed" }
			] uint8 recompile_cause;
	[WmiDataId(6), read] uint32 source_database_id;
	[WmiDataId(7), read] sint32 object_id;
	[WmiDataId(8), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(9), read] uint16 nest_level;
	[WmiDataId(10), read] sint32 line_number;
	[WmiDataId(11), read] sint32 offset;
	[WmiDataId(12), read] sint32 offset_end;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(14), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("Occurs when a BEGIN TRANSACTION request that was sent from a client application through the transaction management interface has started."): Amended,
    Guid("{276CD01C-6FC6-4B2C-A248-6CCD4B497B22}"), locale("MS\\0x409"),
    DisplayName("begin_tran_starting"): Amended]
class XeSqlPkg_begin_tran_starting: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class begin_tran_starting: XeSqlPkg_begin_tran_starting
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("Occurs when a BEGIN TRANSACTION request that was sent from a client application through the transaction management interface has completed."): Amended,
    Guid("{8EBDB52E-FC96-4489-B76B-A1C85DB1E0DC}"), locale("MS\\0x409"),
    DisplayName("begin_tran_completed"): Amended]
class XeSqlPkg_begin_tran_completed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class begin_tran_completed: XeSqlPkg_begin_tran_completed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 error_number;
	[WmiDataId(6), read] sint8  success;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("Occurs when a PROMOTE TRANSACTION request that was sent from a client application through the transaction management interface has started."): Amended,
    Guid("{D3613831-3B27-4BA6-8B9F-CA951CD0900B}"), locale("MS\\0x409"),
    DisplayName("promote_tran_starting"): Amended]
class XeSqlPkg_promote_tran_starting: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class promote_tran_starting: XeSqlPkg_promote_tran_starting
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("Occurs when a PROMOTE TRANSACTION request that was sent from a client application through the transaction management interface has completed."): Amended,
    Guid("{9433EBA8-FC22-4A78-A900-0C02D3FB4214}"), locale("MS\\0x409"),
    DisplayName("promote_tran_completed"): Amended]
class XeSqlPkg_promote_tran_completed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class promote_tran_completed: XeSqlPkg_promote_tran_completed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 error_number;
	[WmiDataId(6), read] sint8  success;
	[WmiDataId(7), read, Extension("Variant")] object dtc_trasaction_token;
};
		
[dynamic: ToInstance, Description("Occurs when a COMMIT TRANSACTION request that was sent from a client application through the transaction management interface has started."): Amended,
    Guid("{1CD1E04E-3292-42EF-B1D7-0AB213C0FD08}"), locale("MS\\0x409"),
    DisplayName("commit_tran_starting"): Amended]
class XeSqlPkg_commit_tran_starting: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class commit_tran_starting: XeSqlPkg_commit_tran_starting
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint8  new_transaction_started;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("Occurs when a COMMIT TRANSACTION request that was sent from a client application through the transaction management interface has completed."): Amended,
    Guid("{A4C25B19-7A12-4CE7-9CA1-B9ED93A3EFEC}"), locale("MS\\0x409"),
    DisplayName("commit_tran_completed"): Amended]
class XeSqlPkg_commit_tran_completed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class commit_tran_completed: XeSqlPkg_commit_tran_completed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 error_number;
	[WmiDataId(6), read] sint8  success;
	[WmiDataId(7), read] sint8  new_transaction_started;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("Occurs when a ROLLBACK TRANSACTION request that was sent from a client application through the transaction management interface has started."): Amended,
    Guid("{718B6BF1-EBF9-4CC4-A242-F2E219F38D73}"), locale("MS\\0x409"),
    DisplayName("rollback_tran_starting"): Amended]
class XeSqlPkg_rollback_tran_starting: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class rollback_tran_starting: XeSqlPkg_rollback_tran_starting
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint8  new_transaction_started;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("Occurs when a ROLLBACK TRANSACTION request that was sent from a client application through the transaction management interface has completed."): Amended,
    Guid("{68A08FB1-141A-44F0-A645-2CC882F3DC1E}"), locale("MS\\0x409"),
    DisplayName("rollback_tran_completed"): Amended]
class XeSqlPkg_rollback_tran_completed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class rollback_tran_completed: XeSqlPkg_rollback_tran_completed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 error_number;
	[WmiDataId(6), read] sint8  success;
	[WmiDataId(7), read] sint8  new_transaction_started;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("Occurs when a SAVE TRANSACTION request that was sent from a client application through the transaction management interface has started."): Amended,
    Guid("{0540DBC1-C99F-4744-ADA5-A59ACB9498D9}"), locale("MS\\0x409"),
    DisplayName("save_tran_starting"): Amended]
class XeSqlPkg_save_tran_starting: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class save_tran_starting: XeSqlPkg_save_tran_starting
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("Occurs when a SAVE TRANSACTION request that was sent from a client application through the transaction management interface has completed."): Amended,
    Guid("{607BA50B-50A0-41AF-A5AF-466BC3B247B3}"), locale("MS\\0x409"),
    DisplayName("save_tran_completed"): Amended]
class XeSqlPkg_save_tran_completed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class save_tran_completed: XeSqlPkg_save_tran_completed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 error_number;
	[WmiDataId(6), read] sint8  success;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("Occurs when a background job has ended abnormally."): Amended,
    Guid("{d6784891-ef16-4845-a55e-ee798569d80c}"), locale("MS\\0x409"),
    DisplayName("background_job_error"): Amended]
class XeSqlPkg_background_job_error: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class background_job_error: XeSqlPkg_background_job_error
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read] uint32 index_id;
	[WmiDataId(8), read, 
				XEMapId(14),
				ValueMap { 
					"1", 
					"2", 
					"3" },
				Values { 
					"Give up", 
					"Queue full", 
					"Exception" }
			] uint8 job_failure_type;
	[WmiDataId(9), read] sint32 error_number;
	[WmiDataId(10), read] sint32 error_severity;
	[WmiDataId(11), read] sint32 error_state;
	[WmiDataId(12), read] sint32 job_id;
	[WmiDataId(13), read, 
				XEMapId(59),
				ValueMap { 
					"1", 
					"0" },
				Values { 
					"Invalid", 
					"StatsUpdate" }
			] uint8 job_type;
	[WmiDataId(14), read] uint64 duration;
	[WmiDataId(15), read] uint16 retries;
	[WmiDataId(16), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when a connection is made to an OLE DB provider. This event collects properties from the remote provider from several property sets, including the following: DBPROPSET_DATASOURCEINFO, SQLPROPSET_OPTHINTS, DBPROPSET_SQLSERVERDATASOURCEINFO (SQL Server only), DBPROPSET_SQLSERVERDBINIT (SQL Server only), DBPROPSET_ROWSET, and the IDBInfo interface. Use this event to analyze and troubleshoot OLE DB provider calls in remote queries."): Amended,
    Guid("{e7cf4d16-2b3c-495a-bccb-d77e8bc18bc1}"), locale("MS\\0x409"),
    DisplayName("oledb_provider_information"): Amended]
class XeSqlPkg_oledb_provider_information: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class oledb_provider_information: XeSqlPkg_oledb_provider_information
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string linked_server_name;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string provider_name;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string properties;
};
		
[dynamic: ToInstance, Description("Occurs when a request to load an assembly is executed. Use this event to troubleshoot queries that are running common language runtime (CLR) code to monitor server, database or user information that is related to loading the assembly."): Amended,
    Guid("{bdcdc398-0770-4e4f-b88e-1b0a107713dc}"), locale("MS\\0x409"),
    DisplayName("assembly_load"): Amended]
class XeSqlPkg_assembly_load: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class assembly_load: XeSqlPkg_assembly_load
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 assembly_id;
	[WmiDataId(6), read] sint8  success;
	[WmiDataId(7), read] sint32 hresult;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string assembly_name;
};
		
[dynamic: ToInstance, Description("Occurs when an XQuery expression is compiled."): Amended,
    Guid("{a73129bb-13b6-418d-b228-72c31ace18f4}"), locale("MS\\0x409"),
    DisplayName("xquery_static_type"): Amended]
class XeSqlPkg_xquery_static_type: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class xquery_static_type: XeSqlPkg_xquery_static_type
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 line_number;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string inferred_type;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string oledb_method;
};
		
[dynamic: ToInstance, Description("Occurs when an operation is performed that is related to query notification subscriptions. Use this event to monitor when subscriptions are created or removed, when a subscription produces a notification message, and when errors occur while producing a notification message or deleting a subscription."): Amended,
    Guid("{47945686-7ae5-4db2-807e-1ef936086e8a}"), locale("MS\\0x409"),
    DisplayName("qn_subscription"): Amended]
class XeSqlPkg_qn_subscription: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class qn_subscription: XeSqlPkg_qn_subscription
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(21),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7", 
					"8", 
					"9" },
				Values { 
					"Subscription Registered", 
					"Subscription Rewound", 
					"Notification Sent", 
					"Notification Failed - Broker Error", 
					"Notification Failed - Non-Broker Error", 
					"Broker Error Intercepted", 
					"Subscription Deletion Attempt", 
					"Subscription Deletion Failed", 
					"Subscription Deleted" }
			] uint8 activity;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string query_notification_xml_information;
};
		
[dynamic: ToInstance, Description("Occurs when an operation is performed that is related to the parameter tables that are used in query notifications. Use this event to monitor operations that are related to creating and maintaining reference counts, and dropping the internal tables that store parameter information. This event also tracks when the usage count is reset on a parameter table."): Amended,
    Guid("{810c3d2f-11ab-4182-8c6f-c6ec3aba77ad}"), locale("MS\\0x409"),
    DisplayName("qn_parameter_table"): Amended]
class XeSqlPkg_qn_parameter_table: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class qn_parameter_table: XeSqlPkg_qn_parameter_table
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(22),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7", 
					"8", 
					"9", 
					"10", 
					"11" },
				Values { 
					"Table Created", 
					"Table Drop Attempt", 
					"Table Drop Attempt Failed", 
					"Table Dropped", 
					"Table Pinned", 
					"Table Unpinned", 
					"Subscription Count Incremented", 
					"Subscription Count Decremented", 
					"Usage Counter Reset", 
					"Subscription Cleanup Task Started", 
					"Subscription Cleanup Task Finished" }
			] uint8 activity;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string query_notification_xml_information;
};
		
[dynamic: ToInstance, Description("Occurs when operations are performed related to the query templates used by the Database Engine to share information about a query used for notification. Use this event to monitor when a query template is created, used or destroyed"): Amended,
    Guid("{14e4d410-c079-4906-8b3b-516f7832a366}"), locale("MS\\0x409"),
    DisplayName("qn_template"): Amended]
class XeSqlPkg_qn_template: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class qn_template: XeSqlPkg_qn_template
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(23),
				ValueMap { 
					"1", 
					"2", 
					"3" },
				Values { 
					"Template Created", 
					"Template Matched", 
					"Template Dropped" }
			] uint8 activity;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string query_notification_xml_information;
};
		
[dynamic: ToInstance, Description("Occurs when background activity to support query notifications is performed. Use this event to track subscription time-outs, pending subscription notification messages, and parameter table destruction."): Amended,
    Guid("{67a896ea-a7d6-411a-a122-3cc6014ca2fd}"), locale("MS\\0x409"),
    DisplayName("qn_dynamics"): Amended]
class XeSqlPkg_qn_dynamics: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class qn_dynamics: XeSqlPkg_qn_dynamics
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(20),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"4", 
					"5" },
				Values { 
					"Clock Run Started", 
					"Clock Run Finished", 
					"Master Cleanup Task Started", 
					"Master Cleanup Task Finished", 
					"Master Cleanup Task Skipped" }
			] uint8 activity;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string query_notification_xml_information;
};
		
[dynamic: ToInstance, Description("Database created"): Amended,
    Guid("{EF314B3C-F77B-4503-8CC1-3F65A1F6FBF8}"), locale("MS\\0x409"),
    DisplayName("database_created"): Amended]
class XeSqlPkg_database_created: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class database_created: XeSqlPkg_database_created
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("HADRON DDL Alter AG failover state"): Amended,
    Guid("{5d03f8e5-1cb6-4b75-bb85-4a6edd7c579c}"), locale("MS\\0x409"),
    DisplayName("hadr_ddl_failover_execution_state"): Amended]
class XeSqlPkg_hadr_ddl_failover_execution_state: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class hadr_ddl_failover_execution_state: XeSqlPkg_hadr_ddl_failover_execution_state
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(37),
				ValueMap { 
					"0", 
					"1", 
					"2" },
				Values { 
					"execution_begin", 
					"execution_succeed", 
					"execution_end" }
			] uint8 current_state;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string ag_name;
};
		
[dynamic: ToInstance, Description("Occurs when a LOGON trigger or a Resource Governor classifier function begins execution."): Amended,
    Guid("{6269d75e-e474-484e-977d-3a983b424db9}"), locale("MS\\0x409"),
    DisplayName("preconnect_starting"): Amended]
class XeSqlPkg_preconnect_starting: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class preconnect_starting: XeSqlPkg_preconnect_starting
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(16),
				ValueMap { 
					"1", 
					"2" },
				Values { 
					"RG Classifier UDF", 
					"Logon Trigger" }
			] uint8 preconnect_type;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint32 object_id;
	[WmiDataId(8), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when a LOGON trigger or a Resource Governor classifier function finishes execution."): Amended,
    Guid("{cb1c7072-fa84-4cc3-95be-81b357754b0c}"), locale("MS\\0x409"),
    DisplayName("preconnect_completed"): Amended]
class XeSqlPkg_preconnect_completed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class preconnect_completed: XeSqlPkg_preconnect_completed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(16),
				ValueMap { 
					"1", 
					"2" },
				Values { 
					"RG Classifier UDF", 
					"Logon Trigger" }
			] uint8 preconnect_type;
	[WmiDataId(6), read] uint32 database_id;
	[WmiDataId(7), read] sint32 object_id;
	[WmiDataId(8), read, 
				XEMapId(61),
				ValueMap { 
					"20801", 
					"17985", 
					"19521", 
					"21825", 
					"2", 
					"1", 
					"20545", 
					"21057", 
					"21313", 
					"19265", 
					"8257", 
					"18241", 
					"20034", 
					"21059", 
					"19523", 
					"21827", 
					"8259", 
					"21571", 
					"17475", 
					"20547", 
					"16964", 
					"21828", 
					"16708", 
					"20036", 
					"21572", 
					"17732", 
					"8260", 
					"19268", 
					"20549", 
					"20037", 
					"8262", 
					"21318", 
					"21574", 
					"17222", 
					"19526", 
					"20038", 
					"21831", 
					"22601", 
					"17993", 
					"21321", 
					"21577", 
					"0", 
					"65536", 
					"22604", 
					"19277", 
					"21581", 
					"4", 
					"20047", 
					"19283", 
					"16975", 
					"18000", 
					"20816", 
					"21072", 
					"19280", 
					"8272", 
					"17232", 
					"20550", 
					"21328", 
					"131072", 
					"18002", 
					"18258", 
					"19538", 
					"21586", 
					"8274", 
					"17235", 
					"20307", 
					"21075", 
					"22099", 
					"19539", 
					"21843", 
					"16723", 
					"20291", 
					"17491", 
					"18259", 
					"8276", 
					"17747", 
					"21587", 
					"20819", 
					"20051", 
					"8275", 
					"18004", 
					"16724", 
					"21076", 
					"22868", 
					"20821", 
					"21333", 
					"8277", 
					"8278", 
					"18263", 
					"19543", 
					"21847", 
					"22611", 
					"8280", 
					"21080" },
				Values { 
					"ADHOC", 
					"AGG", 
					"AKEYLOGIN", 
					"AKEYUSER", 
					"ALL", 
					"ANY", 
					"APP", 
					"APPROLE", 
					"ASM", 
					"ASYMKEY", 
					"AUDIT", 
					"AVAILABILITYGROUP", 
					"BINDING", 
					"CERT", 
					"CERTLOGIN", 
					"CERTUSER", 
					"CHECK", 
					"CONTRACT", 
					"CREDENTIAL", 
					"CRYPTOPROVIDER", 
					"DATABASE", 
					"DBAUDIT", 
					"DBAUDITSPEC", 
					"DBEVTNOT", 
					"DBTRIG", 
					"DBXESES", 
					"DEFAULT", 
					"DEK", 
					"ENDPOINT", 
					"EVTNOTIF", 
					"FKEY", 
					"FNSCLASM", 
					"FNTABASM", 
					"FTCAT", 
					"FTSTPLIST", 
					"FUNCTION", 
					"GROUPUSER", 
					"INDEX", 
					"INLFUNC", 
					"INLSCLFN", 
					"INTLTAB", 
					"INVALID", 
					"LOCAL", 
					"LOGIN", 
					"MASTERKEY", 
					"MSGTYPE", 
					"NOTADHOC", 
					"OBEVTNOT", 
					"OBFKEY", 
					"OBJ", 
					"PFUN", 
					"PREPARED", 
					"PRIORITY", 
					"PRKEY", 
					"PROC", 
					"PROCASM", 
					"PROPERTYLIST", 
					"PSCHEME", 
					"REMOTE", 
					"REPLPROC", 
					"RG", 
					"ROLE", 
					"ROUTE", 
					"RULE", 
					"SCHEMA", 
					"SEQUENCE", 
					"SERVER", 
					"SERVICE", 
					"SQLLOGIN", 
					"SQLUSER", 
					"SRVAUDITSPEC", 
					"SRVCONFIG", 
					"SRVEVTNOT", 
					"SRVROLE", 
					"SRVTRIG", 
					"SRVXESES", 
					"STATISTICS", 
					"SVCQ", 
					"SYNONYM", 
					"SYSTAB", 
					"TABFUNC", 
					"TRIGASM", 
					"TRIGGER", 
					"TYPE", 
					"UQKEY", 
					"USER", 
					"USRTAB", 
					"VIEW", 
					"WINGROUP", 
					"WINLOGIN", 
					"WINUSER", 
					"XMLSCHEMA", 
					"XPROC", 
					"XREL" }
			] uint16 object_type;
	[WmiDataId(9), read] uint64 duration;
	[WmiDataId(10), read] uint64 cpu_time;
	[WmiDataId(11), read] uint64 physical_reads;
	[WmiDataId(12), read] uint64 logical_reads;
	[WmiDataId(13), read] uint64 writes;
	[WmiDataId(14), read] sint32 error_number;
	[WmiDataId(15), read] sint32 error_state;
	[WmiDataId(16), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(17), read, StringTermination("NullTerminated"), Format("w")] string workload_group_name;
	[WmiDataId(18), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when a plan is created for a query or batch that includes a plan guide. Use this event to determine when plan guides are successfully applied."): Amended,
    Guid("{f41e75b1-52b6-4dc1-b29e-037b71c6416e}"), locale("MS\\0x409"),
    DisplayName("plan_guide_successful"): Amended]
class XeSqlPkg_plan_guide_successful: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class plan_guide_successful: XeSqlPkg_plan_guide_successful
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 object_id;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string plan_guide_name;
};
		
[dynamic: ToInstance, Description("Occurs when an execution plan is created for a query or batch without using the provided plan guide. Use this event to identify queries and batches with invalid plan guides. Use the sys.fn_validate_plan_guide function to detect errors in the plan guide."): Amended,
    Guid("{dbbfc08e-5f0a-4cb8-9aea-9482fa478fab}"), locale("MS\\0x409"),
    DisplayName("plan_guide_unsuccessful"): Amended]
class XeSqlPkg_plan_guide_unsuccessful: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class plan_guide_unsuccessful: XeSqlPkg_plan_guide_unsuccessful
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 object_id;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string plan_guide_name;
};
		
[dynamic: ToInstance, Description("Occurs when a Transact-SQL batch is executed that was created for a specific situation and was not in the query cache."): Amended,
    Guid("{265cb7f1-9653-47ad-b67a-c1d7a4b6b939}"), locale("MS\\0x409"),
    DisplayName("uncached_sql_batch_statistics"): Amended]
class XeSqlPkg_uncached_sql_batch_statistics: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class uncached_sql_batch_statistics: XeSqlPkg_uncached_sql_batch_statistics
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string statement;
};
		
[dynamic: ToInstance, Description("Occurs when a look up into the column store object pool cannot find the object in the pool."): Amended,
    Guid("{7b1efe7c-d5cf-4017-a66b-c4b3fd1c4732}"), locale("MS\\0x409"),
    DisplayName("column_store_object_pool_miss"): Amended]
class XeSqlPkg_column_store_object_pool_miss: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class column_store_object_pool_miss: XeSqlPkg_column_store_object_pool_miss
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(43),
				ValueMap { 
					"1", 
					"5", 
					"6", 
					"2", 
					"4", 
					"0" },
				Values { 
					"COLUMN_SEGMENT", 
					"COLUMN_SEGMENT_BULKINSERT_DICTIONARY", 
					"COLUMN_SEGMENT_DELETE_BITMAP", 
					"COLUMN_SEGMENT_PRIMARY_DICTIONARY", 
					"COLUMN_SEGMENT_SECONDARY_DICTIONARY", 
					"UNDEFINED" }
			] uint32 object_type;
	[WmiDataId(6), read] uint64 database_id;
	[WmiDataId(7), read] uint64 hobt_id;
	[WmiDataId(8), read] uint64 column_id;
	[WmiDataId(9), read] uint64 object_id;
};
		
[dynamic: ToInstance, Description("Occurs when an uncontained usage is detected during the compilation of a statement."): Amended,
    Guid("{6D2A7093-98D7-4223-848F-10C693A3F004}"), locale("MS\\0x409"),
    DisplayName("database_uncontained_usage"): Amended]
class XeSqlPkg_database_uncontained_usage: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class database_uncontained_usage: XeSqlPkg_database_uncontained_usage
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 major_id;
	[WmiDataId(6), read] sint32 statement_line_number;
	[WmiDataId(7), read] sint32 statement_offset_begin;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string database_name;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string statement_type;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string statement_info;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string feature_name;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string feature_type_name;
};
		
[dynamic: ToInstance, Description("authentication performance statistics: login function"): Amended,
    Guid("{0442953b-25f9-4d67-a497-159468f42824}"), locale("MS\\0x409"),
    DisplayName("security_authentication_perf_login"): Amended]
class XeSqlPkg_security_authentication_perf_login: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class security_authentication_perf_login: XeSqlPkg_security_authentication_perf_login
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 login_duration;
	[WmiDataId(6), read] sint8  is_sql_authentication;
};
		
[dynamic: ToInstance, Description("authentication performance statistics: find login function"): Amended,
    Guid("{350b0800-ff7d-472d-af4b-a118a6e1940c}"), locale("MS\\0x409"),
    DisplayName("security_authentication_perf_find_login"): Amended]
class XeSqlPkg_security_authentication_perf_find_login: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class security_authentication_perf_find_login: XeSqlPkg_security_authentication_perf_find_login
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 find_login_duration;
	[WmiDataId(6), read] sint8  is_sql_authentication;
};
		
[dynamic: ToInstance, Description("authentication performance statistics: create login token"): Amended,
    Guid("{4262b419-175d-4c09-9a79-46256ce9ea16}"), locale("MS\\0x409"),
    DisplayName("security_authentication_perf_create_logintoken"): Amended]
class XeSqlPkg_security_authentication_perf_create_logintoken: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class security_authentication_perf_create_logintoken: XeSqlPkg_security_authentication_perf_create_logintoken
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 create_logintoken_duration;
	[WmiDataId(6), read] sint8  is_sql_authentication;
	[WmiDataId(7), read] sint8  is_cache_hit;
	[WmiDataId(8), read] sint8  is_db_auth;
	[WmiDataId(9), read] sint8  is_public;
};
		
[dynamic: ToInstance, Description("Security Token Permission Caches have been invalidated by incrementing timestamp for the database."): Amended,
    Guid("{24AD3DE8-6B49-11DE-8FCE-200556D89593}"), locale("MS\\0x409"),
    DisplayName("security_cache_database_timestamp_increment"): Amended]
class XeSqlPkg_security_cache_database_timestamp_increment: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class security_cache_database_timestamp_increment: XeSqlPkg_security_cache_database_timestamp_increment
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
};
		
[dynamic: ToInstance, Description("Security Cache Object Permissions Cache has removed an object."): Amended,
    Guid("{76B2E6C4-6B49-11DE-82BB-7D0856D89593}"), locale("MS\\0x409"),
    DisplayName("security_cache_database_object_removal"): Amended]
class XeSqlPkg_security_cache_database_object_removal: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class security_cache_database_object_removal: XeSqlPkg_security_cache_database_object_removal
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 securable_class;
	[WmiDataId(7), read] uint32 securable_id;
};
		
[dynamic: ToInstance, Description("All entries in Security Cache are removed."): Amended,
    Guid("{329F4CA0-6B4B-11DE-94BE-E91A56D89593}"), locale("MS\\0x409"),
    DisplayName("security_cache_database_cleanup"): Amended]
class XeSqlPkg_security_cache_database_cleanup: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class security_cache_database_cleanup: XeSqlPkg_security_cache_database_cleanup
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
};
		
[dynamic: ToInstance, Description("Security Cache Object Permissions Cache has inserted an object."): Amended,
    Guid("{C76AD79A-97FC-11DE-B854-585355D89593}"), locale("MS\\0x409"),
    DisplayName("security_cache_database_object_insert"): Amended]
class XeSqlPkg_security_cache_database_object_insert: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class security_cache_database_object_insert: XeSqlPkg_security_cache_database_object_insert
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 securable_class;
	[WmiDataId(7), read] uint32 securable_id;
};
		
[dynamic: ToInstance, Description("Occurs when a network packet is enqueued."): Amended,
    Guid("{d4c14a1b-1008-4202-8945-7747ddece174}"), locale("MS\\0x409"),
    DisplayName("packet_enqueued"): Amended]
class XeSqlPkg_packet_enqueued: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class packet_enqueued: XeSqlPkg_packet_enqueued
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 session_id;
	[WmiDataId(6), read, Pointer] object  task_address;
	[WmiDataId(7), read] uint32 result;
	[WmiDataId(8), read, StringTermination("NullTerminated")] string source_ip_address;
};
		
[dynamic: ToInstance, Description("Occurs when a memory dump of the process is requested."): Amended,
    Guid("{b22c6f25-9c92-4651-bca1-b44f17de754f}"), locale("MS\\0x409"),
    DisplayName("stack_trace"): Amended]
class XeSqlPkg_stack_trace: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class stack_trace: XeSqlPkg_stack_trace
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(81),
				BitMap { 
					"1024", 
					"16", 
					"2", 
					"2048", 
					"128", 
					"4", 
					"8", 
					"1", 
					"64", 
					"512", 
					"256", 
					"32" },
				BitValues { 
					"CriticalClrDump", 
					"ExternalDebugger", 
					"Frames", 
					"LocalDumpOnly", 
					"MiniDumpAllThreads", 
					"Modules", 
					"Registers", 
					"ShortStack", 
					"SkipOwnEC", 
					"SkipPssDump", 
					"UserInitiatedDump", 
					"WatsonReporting" }
			] uint32 dump_options;
	[WmiDataId(6), read, 
				XEMapId(64),
				ValueMap { 
					"0", 
					"260", 
					"257", 
					"259", 
					"263", 
					"256", 
					"261", 
					"264", 
					"265", 
					"258", 
					"262" },
				Values { 
					"CONTEXT", 
					"DATABASE_CORRUPTION", 
					"DEADLOCKED_SCHEDS", 
					"NON_YIELDING_IOCP", 
					"NON_YIELDING_RM", 
					"NON_YIELDING_SCHED", 
					"SPL_BACKOFF", 
					"STUCK_DISPATCHER", 
					"STUCK_SP_SERVER_DIAG", 
					"UNRESOLVED_DEADLOCK", 
					"WS_TRIMMED" }
			] uint32 bucket_hint;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string message;
};
		
[dynamic: ToInstance, Description("Occurs when a memory dump of the process is requested."): Amended,
    Guid("{b22c6f25-9c92-4651-bca1-b44f17de754f}"), locale("MS\\0x409"),
    DisplayName("stack_trace"): Amended]
class XeSqlPkg_stack_trace: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class stack_trace: XeSqlPkg_stack_trace
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(81),
				BitMap { 
					"1024", 
					"16", 
					"2", 
					"2048", 
					"128", 
					"4", 
					"8", 
					"1", 
					"64", 
					"512", 
					"256", 
					"32" },
				BitValues { 
					"CriticalClrDump", 
					"ExternalDebugger", 
					"Frames", 
					"LocalDumpOnly", 
					"MiniDumpAllThreads", 
					"Modules", 
					"Registers", 
					"ShortStack", 
					"SkipOwnEC", 
					"SkipPssDump", 
					"UserInitiatedDump", 
					"WatsonReporting" }
			] uint32 dump_options;
	[WmiDataId(6), read, 
				XEMapId(64),
				ValueMap { 
					"0", 
					"260", 
					"257", 
					"259", 
					"263", 
					"256", 
					"261", 
					"264", 
					"265", 
					"258", 
					"262" },
				Values { 
					"CONTEXT", 
					"DATABASE_CORRUPTION", 
					"DEADLOCKED_SCHEDS", 
					"NON_YIELDING_IOCP", 
					"NON_YIELDING_RM", 
					"NON_YIELDING_SCHED", 
					"SPL_BACKOFF", 
					"STUCK_DISPATCHER", 
					"STUCK_SP_SERVER_DIAG", 
					"UNRESOLVED_DEADLOCK", 
					"WS_TRIMMED" }
			] uint32 bucket_hint;
	[WmiDataId(7), read, 
				XEMapId(65),
				ValueMap { 
					"25", 
					"37", 
					"30", 
					"33", 
					"29", 
					"31", 
					"28", 
					"32", 
					"34", 
					"27", 
					"43", 
					"35", 
					"22", 
					"19", 
					"1", 
					"17", 
					"3", 
					"23", 
					"41", 
					"45", 
					"44", 
					"18", 
					"14", 
					"47", 
					"46", 
					"4", 
					"6", 
					"2", 
					"38", 
					"16", 
					"8", 
					"9", 
					"13", 
					"10", 
					"12", 
					"11", 
					"36", 
					"24", 
					"21", 
					"7", 
					"26", 
					"20", 
					"39", 
					"15", 
					"5", 
					"40", 
					"42", 
					"0" },
				Values { 
					"ASSERT", 
					"ASYNC_TRANSPORT", 
					"CLR_CRITICAL_RESOURCE", 
					"CLR_HOST", 
					"CLR_NON_CRITICAL_RESOURCE", 
					"CLR_ORPHANED_LOCK", 
					"CLR_RUNTIME_FATAL", 
					"CLR_STACK_OVERFLOW", 
					"CLR_UNKNOWN", 
					"CLR_USER_SHUTDOWN", 
					"CM_ENLISTMENT", 
					"CORRUPTED_UCS_MESSAGE", 
					"CRYPTO_EXCEPTION", 
					"DBCC_CORRUPTION", 
					"DBCC_STACKDUMP", 
					"DEADLOCK_STACK", 
					"DEADLOCKED_SCHEDULERS", 
					"ERROR_MANAGER", 
					"FAILED_NICE_SHUTDOWN", 
					"GDM_DISTRIBUTED_DEADLOCK", 
					"GDM_SELF_DEADLOCK", 
					"INDEX_CORRUPTION", 
					"LATCH_TIMEOUT", 
					"MONITOR_THREAD", 
					"MTM_AGE", 
					"NON_YIELDING_IOCP", 
					"NON_YIELDING_RM", 
					"NON_YIELDING_SCHEDULER", 
					"REPL_SCHEMA", 
					"RESOLVED_DEADLOCK", 
					"SEH", 
					"SEH_ACCESS_VIOLATION", 
					"SEH_DELAY_LOAD", 
					"SEH_INVALID_CODE", 
					"SEH_INVALID_CRT_PARAM", 
					"SEH_STACK_OVERFLOW", 
					"SEREPL_ERROR", 
					"SOS", 
					"SQLEXIT", 
					"STALLED_DISPATCHER", 
					"STRING_MANIPULATION", 
					"TAKE_DB_OFFLINE", 
					"UNITTEST", 
					"UNRESOLVED_DEADLOCK", 
					"WORKING_SET_TRIMMED", 
					"WORKSPACE", 
					"XACT_TRANSFER_FAILURE", 
					"XEVENT" }
			] uint32 dump_class;
	[WmiDataId(8), read, 
				XEMapId(3),
				ValueMap { 
					"0", 
					"1" },
				Values { 
					"Begin", 
					"End" }
			] uint32 opcode;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string message;
};
		
[dynamic: ToInstance, Description("Occurs when there is a server-initiated connection closure, such as login failed."): Amended,
    Guid("{d028941f-086d-4864-a1bc-d4fb88c7c41e}"), locale("MS\\0x409"),
    DisplayName("connectivity_ring_buffer_recorded"): Amended]
class XeSqlPkg_connectivity_ring_buffer_recorded: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class connectivity_ring_buffer_recorded: XeSqlPkg_connectivity_ring_buffer_recorded
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 id;
	[WmiDataId(6), read] uint64 timestamp0;
	[WmiDataId(7), read, 
				XEMapId(66),
				ValueMap { 
					"1", 
					"0", 
					"2" },
				Values { 
					"ConnClose", 
					"Error", 
					"LognTimers" }
			] uint8 type;
	[WmiDataId(8), read, 
				XEMapId(67),
				ValueMap { 
					"0", 
					"1", 
					"2" },
				Values { 
					"SNI", 
					"TDS", 
					"TDSBySNIConn" }
			] uint8 source;
	[WmiDataId(9), read] uint16 session_id;
	[WmiDataId(10), read] uint32 os_error;
	[WmiDataId(11), read] uint32 sni_error;
	[WmiDataId(12), read] uint32 sni_consumer_error;
	[WmiDataId(13), read] sint32 sni_provider;
	[WmiDataId(14), read] uint32 state;
	[WmiDataId(15), read] uint16 local_port;
	[WmiDataId(16), read] uint16 remote_port;
	[WmiDataId(17), read] uint32 tds_input_buffer_error;
	[WmiDataId(18), read] uint32 tds_output_buffer_error;
	[WmiDataId(19), read] uint32 tds_input_buffer_bytes;
	[WmiDataId(20), read, 
				XEMapId(42),
				BitMap { 
					"0x1", 
					"0x2", 
					"0x4", 
					"0x8", 
					"0x10", 
					"0x20", 
					"0x40", 
					"0x80" },
				BitValues { 
					"PhysicalConnectionIsKilled", 
					"DisconnectDueToReadError", 
					"NetworkErrorFoundInInputStream", 
					"ErrorFoundBeforeLogin", 
					"SessionIsKilled", 
					"NormalDisconnect", 
					"NormalLogout", 
					"RoutingCompleted" }
			] uint32 tds_flags;
	[WmiDataId(21), read] uint32 total_login_time_ms;
	[WmiDataId(22), read] uint32 login_task_enqueued_ms;
	[WmiDataId(23), read] uint32 network_writes_ms;
	[WmiDataId(24), read] uint32 network_reads_ms;
	[WmiDataId(25), read] uint32 ssl_processing_ms;
	[WmiDataId(26), read] uint32 sspi_processing_ms;
	[WmiDataId(27), read] uint32 login_trigger_and_resource_governor_processing_ms;
	[WmiDataId(28), read, Extension("Guid")] guid connection_id;
	[WmiDataId(29), read, StringTermination("NullTerminated")] string local_host;
	[WmiDataId(30), read, StringTermination("NullTerminated")] string remote_host;
	[WmiDataId(31), read, Extension("Variant"), XEVLD("callstack")] object call_stack;
};
		
[dynamic: ToInstance, Description("Occurs when there is a server-initiated connection closure, such as login failed."): Amended,
    Guid("{d028941f-086d-4864-a1bc-d4fb88c7c41e}"), locale("MS\\0x409"),
    DisplayName("connectivity_ring_buffer_recorded"): Amended]
class XeSqlPkg_connectivity_ring_buffer_recorded: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(2)]
class connectivity_ring_buffer_recorded: XeSqlPkg_connectivity_ring_buffer_recorded
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 id;
	[WmiDataId(6), read] uint64 timestamp0;
	[WmiDataId(7), read, 
				XEMapId(66),
				ValueMap { 
					"1", 
					"0", 
					"2" },
				Values { 
					"ConnClose", 
					"Error", 
					"LognTimers" }
			] uint8 type;
	[WmiDataId(8), read, 
				XEMapId(67),
				ValueMap { 
					"0", 
					"1", 
					"2" },
				Values { 
					"SNI", 
					"TDS", 
					"TDSBySNIConn" }
			] uint8 source;
	[WmiDataId(9), read] uint16 session_id;
	[WmiDataId(10), read] uint32 os_error;
	[WmiDataId(11), read] uint32 sni_error;
	[WmiDataId(12), read] uint32 sni_consumer_error;
	[WmiDataId(13), read] sint32 sni_provider;
	[WmiDataId(14), read] uint32 state;
	[WmiDataId(15), read] uint16 local_port;
	[WmiDataId(16), read] uint16 remote_port;
	[WmiDataId(17), read] uint32 tds_input_buffer_error;
	[WmiDataId(18), read] uint32 tds_output_buffer_error;
	[WmiDataId(19), read] uint32 tds_input_buffer_bytes;
	[WmiDataId(20), read, 
				XEMapId(42),
				BitMap { 
					"0x1", 
					"0x2", 
					"0x4", 
					"0x8", 
					"0x10", 
					"0x20", 
					"0x40", 
					"0x80" },
				BitValues { 
					"PhysicalConnectionIsKilled", 
					"DisconnectDueToReadError", 
					"NetworkErrorFoundInInputStream", 
					"ErrorFoundBeforeLogin", 
					"SessionIsKilled", 
					"NormalDisconnect", 
					"NormalLogout", 
					"RoutingCompleted" }
			] uint32 tds_flags;
	[WmiDataId(21), read] uint32 total_login_time_ms;
	[WmiDataId(22), read] uint32 login_task_enqueued_ms;
	[WmiDataId(23), read] uint32 network_writes_ms;
	[WmiDataId(24), read] uint32 network_reads_ms;
	[WmiDataId(25), read] uint32 ssl_processing_ms;
	[WmiDataId(26), read] uint32 sspi_processing_ms;
	[WmiDataId(27), read] uint32 login_trigger_and_resource_governor_processing_ms;
	[WmiDataId(28), read, Extension("Guid")] guid connection_id;
	[WmiDataId(29), read, Extension("Guid")] guid connection_peer_id;
	[WmiDataId(30), read, StringTermination("NullTerminated")] string local_host;
	[WmiDataId(31), read, StringTermination("NullTerminated")] string remote_host;
	[WmiDataId(32), read, Extension("Variant"), XEVLD("callstack")] object call_stack;
};
		
[dynamic: ToInstance, Description("Occurs when a new result set is being processed."): Amended,
    Guid("{67aa5ff6-95b6-4409-8d66-c5e532ca28d7}"), locale("MS\\0x409"),
    DisplayName("sp_server_diagnostics_result_set"): Amended]
class XeSqlPkg_sp_server_diagnostics_result_set: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sp_server_diagnostics_result_set: XeSqlPkg_sp_server_diagnostics_result_set
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(3),
				ValueMap { 
					"0", 
					"1" },
				Values { 
					"Begin", 
					"End" }
			] uint32 opcode;
	[WmiDataId(6), read] uint64 interval_time;
};
		
[dynamic: ToInstance, Description("Occurs when a component state is determined."): Amended,
    Guid("{8232fe0e-4e1c-450c-9d49-73806cd80745}"), locale("MS\\0x409"),
    DisplayName("sp_server_diagnostics_component_result"): Amended]
class XeSqlPkg_sp_server_diagnostics_component_result: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class sp_server_diagnostics_component_result: XeSqlPkg_sp_server_diagnostics_component_result
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(68),
				ValueMap { 
					"5", 
					"4", 
					"3", 
					"6", 
					"2", 
					"1", 
					"0" },
				Values { 
					"AGS", 
					"EVENTS", 
					"IO_SUBSYSTEM", 
					"LAST", 
					"QUERY_PROCESSING", 
					"RESOURCE", 
					"SYSTEM" }
			] uint8 component;
	[WmiDataId(6), read, 
				XEMapId(69),
				ValueMap { 
					"1", 
					"3", 
					"4", 
					"0", 
					"2" },
				Values { 
					"CLEAN", 
					"ERROR", 
					"LAST", 
					"UNKNOWN", 
					"WARNING" }
			] uint8 state;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string data;
};
		
[dynamic: ToInstance, Description("Translate full-text query to equivalant T-SQL query that works on a dummy fragment table."): Amended,
    Guid("{3712D27D-FEC3-4a59-8472-80602900FD64}"), locale("MS\\0x409"),
    DisplayName("fulltext_query_translator"): Amended]
class XeSqlPkg_fulltext_query_translator: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class fulltext_query_translator: XeSqlPkg_fulltext_query_translator
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string query_text;
};
		
[dynamic: ToInstance, Description("Produces a fulltext query execution statistics report in XML format."): Amended,
    Guid("{0FFB61E3-158E-4530-85B4-802A2343CD62}"), locale("MS\\0x409"),
    DisplayName("fulltext_query_exec_stats"): Amended]
class XeSqlPkg_fulltext_query_exec_stats: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class fulltext_query_exec_stats: XeSqlPkg_fulltext_query_exec_stats
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string execution_stats_report;
};
		
[dynamic: ToInstance, Description("Fired when a fulltext test access point is hit"): Amended,
    Guid("{885B603F-F35D-4C87-9882-E44CB12C8AD6}"), locale("MS\\0x409"),
    DisplayName("fulltext_test_access_point"): Amended]
class XeSqlPkg_fulltext_test_access_point: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class fulltext_test_access_point: XeSqlPkg_fulltext_test_access_point
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 object_id;
	[WmiDataId(7), read] uint32 event_type;
	[WmiDataId(8), read] uint32 additional_info;
};
		
[dynamic: ToInstance, Description("Indicates the start of a fulltext reorganize operation for the table identified by table_id."): Amended,
    Guid("{D7A992FF-CA1E-4112-9F61-DBD348000107}"), locale("MS\\0x409"),
    DisplayName("fulltext_reorganize_start"): Amended]
class XeSqlPkg_fulltext_reorganize_start: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class fulltext_reorganize_start: XeSqlPkg_fulltext_reorganize_start
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 table_id;
	[WmiDataId(7), read] uint64 total_fragments_size;
	[WmiDataId(8), read] uint64 fragments_count;
	[WmiDataId(9), read] uint32 degree_of_parallelism;
	[WmiDataId(10), read] uint32 destination_partition_count;
	[WmiDataId(11), read] uint32 destination_fragment_id;
};
		
[dynamic: ToInstance, Description("Reports a source fragment before running Phase1 of the reorganize operation. The process raises as many events of this type as there are source fragments."): Amended,
    Guid("{868F788C-A32C-492E-AAAA-0F6BF6211D87}"), locale("MS\\0x409"),
    DisplayName("fulltext_reorganize_source_fragment"): Amended]
class XeSqlPkg_fulltext_reorganize_source_fragment: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class fulltext_reorganize_source_fragment: XeSqlPkg_fulltext_reorganize_source_fragment
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 table_id;
	[WmiDataId(7), read] uint32 fragment_id;
};
		
[dynamic: ToInstance, Description("Reports a fragment that has been selected as a source fragment by one of the Phase1 background merge work items."): Amended,
    Guid("{6BBCD5D3-C158-4393-9A7A-C6D803263129}"), locale("MS\\0x409"),
    DisplayName("fulltext_reorganize_phase1_source_fragment"): Amended]
class XeSqlPkg_fulltext_reorganize_phase1_source_fragment: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class fulltext_reorganize_phase1_source_fragment: XeSqlPkg_fulltext_reorganize_phase1_source_fragment
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 table_id;
	[WmiDataId(7), read] uint32 fragment_id;
};
		
[dynamic: ToInstance, Description("Reports a destination fragment that has been created by one of the Phase1 background merge work items."): Amended,
    Guid("{E61B02ED-A0E5-453A-8EB0-9C8DEFD72083}"), locale("MS\\0x409"),
    DisplayName("fulltext_reorganize_phase1_destination_fragment"): Amended]
class XeSqlPkg_fulltext_reorganize_phase1_destination_fragment: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class fulltext_reorganize_phase1_destination_fragment: XeSqlPkg_fulltext_reorganize_phase1_destination_fragment
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 table_id;
	[WmiDataId(7), read] uint32 fragment_id;
};
		
[dynamic: ToInstance, Description("Reports the reorganize progress for a given table."): Amended,
    Guid("{BFBA32E5-9B99-4D8E-BE3F-5C31B46285B2}"), locale("MS\\0x409"),
    DisplayName("fulltext_reorganize_progress"): Amended]
class XeSqlPkg_fulltext_reorganize_progress: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class fulltext_reorganize_progress: XeSqlPkg_fulltext_reorganize_progress
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 table_id;
	[WmiDataId(7), read] uint32 percent_complete;
};
		
[dynamic: ToInstance, Description("Reports the reason for issuing recompile of a fulltext query."): Amended,
    Guid("{EF3FDDC2-7EC8-40B1-95A9-41CEC9D61923}"), locale("MS\\0x409"),
    DisplayName("fulltext_query_recompile"): Amended]
class XeSqlPkg_fulltext_query_recompile: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class fulltext_query_recompile: XeSqlPkg_fulltext_query_recompile
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 table_id;
	[WmiDataId(7), read] uint64 object_id;
	[WmiDataId(8), read, 
				XEMapId(36),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"4", 
					"5", 
					"6", 
					"7", 
					"8", 
					"9" },
				Values { 
					"StopList changed", 
					"Thesaurus changed", 
					"Catalog property changed", 
					"Language Component(Wordbreaker/Filter) changed", 
					"Temporary plan", 
					"Search Property List changed", 
					"Additional buffers required", 
					"Fewer buffers required", 
					"Transform noise words setting changed" }
			] uint8 recompile_reason;
};
		
[dynamic: ToInstance, Description("Reports the language used for each document by semantic indexing during a full-text crawl with statistical_semantics enabled"): Amended,
    Guid("{157fe39e-8a88-45d3-bbbe-75703c501504}"), locale("MS\\0x409"),
    DisplayName("fulltext_semantic_document_language"): Amended]
class XeSqlPkg_fulltext_semantic_document_language: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class fulltext_semantic_document_language: XeSqlPkg_fulltext_semantic_document_language
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 table_id;
	[WmiDataId(7), read] uint64 document_id;
	[WmiDataId(8), read] uint32 column_id;
	[WmiDataId(9), read] sint8  language_model_found;
	[WmiDataId(10), read] uint32 language_id;
};
		
[dynamic: ToInstance, Description("Session Manager received a notification for an event such as brick-down, brick-rejoin, etc."): Amended,
    Guid("{5aa98cbf-a446-4771-bbd0-60e9cab723ed}"), locale("MS\\0x409"),
    DisplayName("session_mgr_event_notification_received"): Amended]
class XeSqlPkg_session_mgr_event_notification_received: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class session_mgr_event_notification_received: XeSqlPkg_session_mgr_event_notification_received
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 brick_id;
	[WmiDataId(6), read, 
				XEMapId(84),
				ValueMap { 
					"128", 
					"256", 
					"4", 
					"1", 
					"2", 
					"512", 
					"8", 
					"16", 
					"32", 
					"64" },
				Values { 
					"CM_NOTIFYEV_TYPE_BRICK_CREATED", 
					"CM_NOTIFYEV_TYPE_BRICK_DELETED", 
					"CM_NOTIFYEV_TYPE_BRICK_DOWN", 
					"CM_NOTIFYEV_TYPE_BRICK_SHUTDOWN", 
					"CM_NOTIFYEV_TYPE_BRICK_UP", 
					"CM_NOTIFYEV_TYPE_LAST_VALUE", 
					"CM_NOTIFYEV_TYPE_MANAGER_STARTED", 
					"CM_NOTIFYEV_TYPE_MANAGER_STOPPED", 
					"CM_NOTIFYEV_TYPE_SECONDARY_CREATED", 
					"CM_NOTIFYEV_TYPE_SECONDARY_DELETED" }
			] uint32 event;
};
		
[dynamic: ToInstance, Description("Session Manager: A work item has been enqueued in the thread pool for execution."): Amended,
    Guid("{b0557893-ba29-4167-9668-d8b337a70716}"), locale("MS\\0x409"),
    DisplayName("session_mgr_work_item_enqueued"): Amended]
class XeSqlPkg_session_mgr_work_item_enqueued: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class session_mgr_work_item_enqueued: XeSqlPkg_session_mgr_work_item_enqueued
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(71),
				ValueMap { 
					"0" },
				Values { 
					"SM_MATRIX_BRICK_DOWN" }
			] uint32 type;
	[WmiDataId(6), read, 
				XEMapId(70),
				ValueMap { 
					"4", 
					"0", 
					"1", 
					"3", 
					"2" },
				Values { 
					"SM_COUNT_DISTINCT_WORK_ITEM_PRIORITIES", 
					"SM_PRIORITY_CRITICAL", 
					"SM_PRIORITY_HIGH", 
					"SM_PRIORITY_LOW", 
					"SM_PRIORITY_MEDIUM" }
			] uint32 priority;
	[WmiDataId(7), read, Extension("WmiTime")] uint64 creation_time;
};
		
[dynamic: ToInstance, Description("Session Manager: A work item has been dequeued from the thread pool for execution."): Amended,
    Guid("{e14e5168-c9d0-4c5c-9b64-140fb2fe9782}"), locale("MS\\0x409"),
    DisplayName("session_mgr_work_item_dequeued"): Amended]
class XeSqlPkg_session_mgr_work_item_dequeued: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class session_mgr_work_item_dequeued: XeSqlPkg_session_mgr_work_item_dequeued
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(71),
				ValueMap { 
					"0" },
				Values { 
					"SM_MATRIX_BRICK_DOWN" }
			] uint32 type;
	[WmiDataId(6), read, 
				XEMapId(70),
				ValueMap { 
					"4", 
					"0", 
					"1", 
					"3", 
					"2" },
				Values { 
					"SM_COUNT_DISTINCT_WORK_ITEM_PRIORITIES", 
					"SM_PRIORITY_CRITICAL", 
					"SM_PRIORITY_HIGH", 
					"SM_PRIORITY_LOW", 
					"SM_PRIORITY_MEDIUM" }
			] uint32 priority;
	[WmiDataId(7), read, Extension("WmiTime")] uint64 creation_time;
};
		
[dynamic: ToInstance, Description("Session Manager: Starting the execution of work item."): Amended,
    Guid("{fb87d0f6-1dd7-4024-8a58-4d5720774d40}"), locale("MS\\0x409"),
    DisplayName("session_mgr_work_item_start_execution"): Amended]
class XeSqlPkg_session_mgr_work_item_start_execution: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class session_mgr_work_item_start_execution: XeSqlPkg_session_mgr_work_item_start_execution
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(71),
				ValueMap { 
					"0" },
				Values { 
					"SM_MATRIX_BRICK_DOWN" }
			] uint32 type;
	[WmiDataId(6), read, 
				XEMapId(70),
				ValueMap { 
					"4", 
					"0", 
					"1", 
					"3", 
					"2" },
				Values { 
					"SM_COUNT_DISTINCT_WORK_ITEM_PRIORITIES", 
					"SM_PRIORITY_CRITICAL", 
					"SM_PRIORITY_HIGH", 
					"SM_PRIORITY_LOW", 
					"SM_PRIORITY_MEDIUM" }
			] uint32 priority;
	[WmiDataId(7), read, Extension("WmiTime")] uint64 creation_time;
};
		
[dynamic: ToInstance, Description("Session Manager: Finished the execution of work item."): Amended,
    Guid("{93787835-9453-4a09-ab99-91a53b39b33c}"), locale("MS\\0x409"),
    DisplayName("session_mgr_work_item_end_execution"): Amended]
class XeSqlPkg_session_mgr_work_item_end_execution: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class session_mgr_work_item_end_execution: XeSqlPkg_session_mgr_work_item_end_execution
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(71),
				ValueMap { 
					"0" },
				Values { 
					"SM_MATRIX_BRICK_DOWN" }
			] uint32 type;
	[WmiDataId(6), read, 
				XEMapId(70),
				ValueMap { 
					"4", 
					"0", 
					"1", 
					"3", 
					"2" },
				Values { 
					"SM_COUNT_DISTINCT_WORK_ITEM_PRIORITIES", 
					"SM_PRIORITY_CRITICAL", 
					"SM_PRIORITY_HIGH", 
					"SM_PRIORITY_LOW", 
					"SM_PRIORITY_MEDIUM" }
			] uint32 priority;
	[WmiDataId(7), read, Extension("WmiTime")] uint64 creation_time;
};
		
[dynamic: ToInstance, Description("Session Manager: A session footprint was just created or deleted. This is used to trace session footprint creations and deletions."): Amended,
    Guid("{92e2cbd4-cec4-4dc2-b4d0-64059237813c}"), locale("MS\\0x409"),
    DisplayName("session_footprint_lifecycle_event"): Amended]
class XeSqlPkg_session_footprint_lifecycle_event: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class session_footprint_lifecycle_event: XeSqlPkg_session_footprint_lifecycle_event
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 session_id;
	[WmiDataId(6), read] uint64 session_token;
	[WmiDataId(7), read] uint64 brick_incarnation_id;
	[WmiDataId(8), read, 
				XEMapId(85),
				ValueMap { 
					"0", 
					"1" },
				Values { 
					"SESSION_FOOTPRINT_CREATED", 
					"SESSION_FOOTPRINT_DELETED" }
			] uint32 event_type;
};
		
[dynamic: ToInstance, Description("Database DDL statement has been parsed and compiled, and start to be executed."): Amended,
    Guid("{e2c02426-af12-44fa-87d2-220075c9da7c}"), locale("MS\\0x409"),
    DisplayName("database_ddl_stmt_start"): Amended]
class XeSqlPkg_database_ddl_stmt_start: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class database_ddl_stmt_start: XeSqlPkg_database_ddl_stmt_start
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read, 
				XEMapId(34),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"4" },
				Values { 
					"CREATE DATABASE", 
					"DROP DATABASE", 
					"USE DATABASE", 
					"ALTER DATABASE" }
			] uint8 statement_type;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Database DDL statement finished run-time check, such as permission check."): Amended,
    Guid("{5b9c43e0-3215-4d9b-bab7-8e9d799e3c7d}"), locale("MS\\0x409"),
    DisplayName("database_ddl_stmt_runtime_check"): Amended]
class XeSqlPkg_database_ddl_stmt_runtime_check: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class database_ddl_stmt_runtime_check: XeSqlPkg_database_ddl_stmt_runtime_check
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read, 
				XEMapId(34),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"4" },
				Values { 
					"CREATE DATABASE", 
					"DROP DATABASE", 
					"USE DATABASE", 
					"ALTER DATABASE" }
			] uint8 statement_type;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Start to create a database segment at the local brick."): Amended,
    Guid("{4d19bf10-5958-4726-aa16-56575646565f}"), locale("MS\\0x409"),
    DisplayName("database_segment_local_creation_begin"): Amended]
class XeSqlPkg_database_segment_local_creation_begin: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class database_segment_local_creation_begin: XeSqlPkg_database_segment_local_creation_begin
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 database_segment_id;
	[WmiDataId(7), read] uint32 brick_id;
};
		
[dynamic: ToInstance, Description("One database segment is created at the local brick."): Amended,
    Guid("{edbdd3c7-c54b-4dcf-9d9a-7cf47eed3ba6}"), locale("MS\\0x409"),
    DisplayName("database_segment_local_creation_end"): Amended]
class XeSqlPkg_database_segment_local_creation_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class database_segment_local_creation_end: XeSqlPkg_database_segment_local_creation_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 database_segment_id;
	[WmiDataId(7), read] uint32 brick_id;
};
		
[dynamic: ToInstance, Description("All files on one database segment are created, and primary file information is inserted into metadata."): Amended,
    Guid("{8bbf007c-835f-41cb-9998-f60c589e646d}"), locale("MS\\0x409"),
    DisplayName("database_segment_all_files_create"): Amended]
class XeSqlPkg_database_segment_all_files_create: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class database_segment_all_files_create: XeSqlPkg_database_segment_all_files_create
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 database_segment_id;
};
		
[dynamic: ToInstance, Description("All required database segments are created."): Amended,
    Guid("{5e85c44b-a5a1-41cc-89aa-86e93c674ae9}"), locale("MS\\0x409"),
    DisplayName("all_database_segments_create"): Amended]
class XeSqlPkg_all_database_segments_create: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class all_database_segments_create: XeSqlPkg_all_database_segments_create
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 database_segment_count;
	[WmiDataId(7), read] uint32 brick_id;
};
		
[dynamic: ToInstance, Description("All database segment infos are created in masterDB on MDM brick."): Amended,
    Guid("{cee14ccf-bccb-4b7d-ab26-60631a0e5c40}"), locale("MS\\0x409"),
    DisplayName("all_database_segments_metadata_create"): Amended]
class XeSqlPkg_all_database_segments_metadata_create: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class all_database_segments_metadata_create: XeSqlPkg_all_database_segments_metadata_create
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
};
		
[dynamic: ToInstance, Description("An ex-lock is acquired for dropping a database"): Amended,
    Guid("{4112b30b-64d0-4bea-9e4a-d0f232693ab5}"), locale("MS\\0x409"),
    DisplayName("drop_database_ex_lock_acquire"): Amended]
class XeSqlPkg_drop_database_ex_lock_acquire: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class drop_database_ex_lock_acquire: XeSqlPkg_drop_database_ex_lock_acquire
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
};
		
[dynamic: ToInstance, Description("Remove global metadata from Master database, including sysdatabases and database segments"): Amended,
    Guid("{5f3c1275-9ea1-4c0c-84f7-3723e50a654e}"), locale("MS\\0x409"),
    DisplayName("drop_database_metadata_remove"): Amended]
class XeSqlPkg_drop_database_metadata_remove: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class drop_database_metadata_remove: XeSqlPkg_drop_database_metadata_remove
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
};
		
[dynamic: ToInstance, Description("Database compatibility level is changed"): Amended,
    Guid("{799CBF25-EA60-4cb8-9ED8-3513BF59C7ED}"), locale("MS\\0x409"),
    DisplayName("database_cmptlevel_change"): Amended]
class XeSqlPkg_database_cmptlevel_change: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class database_cmptlevel_change: XeSqlPkg_database_cmptlevel_change
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 previous_value;
	[WmiDataId(7), read] uint32 new_value;
};
		
[dynamic: ToInstance, Description("The logical file group is created."): Amended,
    Guid("{e01343e7-1b02-42c5-bf8a-07ab3141ea65}"), locale("MS\\0x409"),
    DisplayName("logical_filegroup_create"): Amended]
class XeSqlPkg_logical_filegroup_create: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class logical_filegroup_create: XeSqlPkg_logical_filegroup_create
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 data_space_id;
	[WmiDataId(7), read, 
				XEMapId(74),
				ValueMap { 
					"1", 
					"2", 
					"3", 
					"0" },
				Values { 
					"FILESTREAM", 
					"FILESTREAMLOG", 
					"MEMORY_OPTIMIZED", 
					"ROWS" }
			] uint32 filegroup_type;
	[WmiDataId(8), read, Extension("Guid")] guid guid;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string filegroup_name;
};
		
[dynamic: ToInstance, Description("Occurs when an ALTER TABLE ADD column operation is updating base index."): Amended,
    Guid("{9CEE39A4-943F-41F6-91AD-C42C3C4A7BC1}"), locale("MS\\0x409"),
    DisplayName("metadata_ddl_add_column"): Amended]
class XeSqlPkg_metadata_ddl_add_column: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class metadata_ddl_add_column: XeSqlPkg_metadata_ddl_add_column
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 object_id;
	[WmiDataId(7), read] uint32 column_id;
	[WmiDataId(8), read, 
				XEMapId(77),
				ValueMap { 
					"104", 
					"34", 
					"50", 
					"35", 
					"250", 
					"40", 
					"42", 
					"43", 
					"0", 
					"52", 
					"56", 
					"127", 
					"60", 
					"31", 
					"59", 
					"62", 
					"58", 
					"122", 
					"173", 
					"61", 
					"106", 
					"36", 
					"108", 
					"175", 
					"98", 
					"239", 
					"1", 
					"243", 
					"41", 
					"189", 
					"240", 
					"48", 
					"165", 
					"167", 
					"231", 
					"99", 
					"241", 
					"242" },
				Values { 
					"XE_XVT_BIT", 
					"XE_XVT_BLOB", 
					"XE_XVT_BOOL", 
					"XE_XVT_CLOB", 
					"XE_XVT_CURSOR", 
					"XE_XVT_DATE", 
					"XE_XVT_DATETIME2", 
					"XE_XVT_DATETIMEOFFSET", 
					"XE_XVT_EMPTY", 
					"XE_XVT_I2", 
					"XE_XVT_I4", 
					"XE_XVT_I8", 
					"XE_XVT_MONEY", 
					"XE_XVT_NULL", 
					"XE_XVT_R4", 
					"XE_XVT_R8", 
					"XE_XVT_SMALLDATE", 
					"XE_XVT_SMALLMONEY", 
					"XE_XVT_SSBYTES", 
					"XE_XVT_SSDATE", 
					"XE_XVT_SSDECIMAL", 
					"XE_XVT_SSGUID", 
					"XE_XVT_SSNUMERIC", 
					"XE_XVT_SSSTR", 
					"XE_XVT_SSVARIANT", 
					"XE_XVT_SSWSTR", 
					"XE_XVT_TABLE", 
					"XE_XVT_TABLETYPE", 
					"XE_XVT_TIME", 
					"XE_XVT_TIMESTAMP", 
					"XE_XVT_UDT", 
					"XE_XVT_UI1", 
					"XE_XVT_VARBYTES", 
					"XE_XVT_VARSTR", 
					"XE_XVT_VARWSTR", 
					"XE_XVT_WLOB", 
					"XE_XVT_XML", 
					"XE_XVT_XMLNODE" }
			] uint32 datatype;
	[WmiDataId(9), read, 
				XEMapId(78),
				ValueMap { 
					"822136840", 
					"2030096392", 
					"956362760", 
					"1023463432", 
					"922796040", 
					"939577352", 
					"2046869512", 
					"1543557142", 
					"1526775830", 
					"1409339396", 
					"1392558084", 
					"3070283781", 
					"3523264520", 
					"3674259497", 
					"3540041769", 
					"3657482245", 
					"3556818949", 
					"3573596170", 
					"3590373384", 
					"3607150632", 
					"3623927816", 
					"3640705035", 
					"2617298973", 
					"2600517661", 
					"1442893837", 
					"1426112525", 
					"3120615438", 
					"906031112", 
					"872468488", 
					"855687176", 
					"1375784968", 
					"1359003656", 
					"1778438152", 
					"1761656840", 
					"2080436232", 
					"1912655880", 
					"1895874568", 
					"2181091336", 
					"2164310024", 
					"2315309064", 
					"2298527752", 
					"2449526792", 
					"2432745480", 
					"2583744520", 
					"2566963208", 
					"503382024", 
					"570486792", 
					"536924168", 
					"520142856", 
					"671154184", 
					"671090696", 
					"738258952", 
					"704696328", 
					"687915016", 
					"889245704", 
					"553701384", 
					"721473544", 
					"2650853406", 
					"2634072094", 
					"2684407838", 
					"2667626526", 
					"2013315080", 
					"1476448275", 
					"1459666963", 
					"1510002708", 
					"1493221396", 
					"1006686218", 
					"989904906", 
					"973131786", 
					"1577111575", 
					"1560330263", 
					"1610661916", 
					"1593884700", 
					"3103838218", 
					"3087061002", 
					"1811992603", 
					"1795211291" },
				Values { 
					"SQL_1xCompat_CP850_CI_AS", 
					"SQL_AltDiction_CP1253_CS_AS", 
					"SQL_AltDiction_CP850_CI_AI", 
					"SQL_AltDiction_CP850_CI_AS", 
					"SQL_AltDiction_CP850_CS_AS", 
					"SQL_AltDiction_Pref_CP850_CI_AS", 
					"SQL_AltDiction2_CP1253_CS_AS", 
					"SQL_Croatian_CP1250_CI_AS", 
					"SQL_Croatian_CP1250_CS_AS", 
					"SQL_Czech_CP1250_CI_AS", 
					"SQL_Czech_CP1250_CS_AS", 
					"SQL_Danish_Pref_CP1_CI_AS", 
					"SQL_EBCDIC037_CP1_CS_AS", 
					"SQL_EBCDIC1141_CP1_CS_AS", 
					"SQL_EBCDIC273_CP1_CS_AS", 
					"SQL_EBCDIC277_2_CP1_CS_AS", 
					"SQL_EBCDIC277_CP1_CS_AS", 
					"SQL_EBCDIC278_CP1_CS_AS", 
					"SQL_EBCDIC280_CP1_CS_AS", 
					"SQL_EBCDIC284_CP1_CS_AS", 
					"SQL_EBCDIC285_CP1_CS_AS", 
					"SQL_EBCDIC297_CP1_CS_AS", 
					"SQL_Estonian_CP1257_CI_AS", 
					"SQL_Estonian_CP1257_CS_AS", 
					"SQL_Hungarian_CP1250_CI_AS", 
					"SQL_Hungarian_CP1250_CS_AS", 
					"SQL_Icelandic_Pref_CP1_CI_AS", 
					"SQL_Latin1_General_CP1_CI_AI", 
					"SQL_Latin1_General_CP1_CI_AS", 
					"SQL_Latin1_General_CP1_CS_AS", 
					"SQL_Latin1_General_CP1250_CI_AS", 
					"SQL_Latin1_General_CP1250_CS_AS", 
					"SQL_Latin1_General_CP1251_CI_AS", 
					"SQL_Latin1_General_CP1251_CS_AS", 
					"SQL_Latin1_General_CP1253_CI_AI", 
					"SQL_Latin1_General_CP1253_CI_AS", 
					"SQL_Latin1_General_CP1253_CS_AS", 
					"SQL_Latin1_General_CP1254_CI_AS", 
					"SQL_Latin1_General_CP1254_CS_AS", 
					"SQL_Latin1_General_CP1255_CI_AS", 
					"SQL_Latin1_General_CP1255_CS_AS", 
					"SQL_Latin1_General_CP1256_CI_AS", 
					"SQL_Latin1_General_CP1256_CS_AS", 
					"SQL_Latin1_General_CP1257_CI_AS", 
					"SQL_Latin1_General_CP1257_CS_AS", 
					"SQL_Latin1_General_CP437_BIN", 
					"SQL_Latin1_General_CP437_CI_AI", 
					"SQL_Latin1_General_CP437_CI_AS", 
					"SQL_Latin1_General_CP437_CS_AS", 
					"SQL_Latin1_General_CP850_BIN", 
					"SQL_Latin1_General_CP850_BIN2", 
					"SQL_Latin1_General_CP850_CI_AI", 
					"SQL_Latin1_General_CP850_CI_AS", 
					"SQL_Latin1_General_CP850_CS_AS", 
					"SQL_Latin1_General_Pref_CP1_CI_AS", 
					"SQL_Latin1_General_Pref_CP437_CI_AS", 
					"SQL_Latin1_General_Pref_CP850_CI_AS", 
					"SQL_Latvian_CP1257_CI_AS", 
					"SQL_Latvian_CP1257_CS_AS", 
					"SQL_Lithuanian_CP1257_CI_AS", 
					"SQL_Lithuanian_CP1257_CS_AS", 
					"SQL_MixDiction_CP1253_CS_AS", 
					"SQL_Polish_CP1250_CI_AS", 
					"SQL_Polish_CP1250_CS_AS", 
					"SQL_Romanian_CP1250_CI_AS", 
					"SQL_Romanian_CP1250_CS_AS", 
					"SQL_Scandainavian_CP850_CI_AS", 
					"SQL_Scandainavian_CP850_CS_AS", 
					"SQL_Scandainavian_Pref_CP850_CI_AS", 
					"SQL_Slovak_CP1250_CI_AS", 
					"SQL_Slovak_CP1250_CS_AS", 
					"SQL_Slovenian_CP1250_CI_AS", 
					"SQL_Slovenian_CP1250_CS_AS", 
					"SQL_SwedishPhone_Pref_CP1_CI_AS", 
					"SQL_SwedishStd_Pref_CP1_CI_AS", 
					"SQL_Ukrainian_CP1251_CI_AS", 
					"SQL_Ukrainian_CP1251_CS_AS" }
			] uint32 collation;
	[WmiDataId(10), read] sint8  nullable;
	[WmiDataId(11), read] uint32 maxlen;
};
		
[dynamic: ToInstance, Description("Occurs when an ALTER TABLE ALTER column operation is updating base index."): Amended,
    Guid("{B4B8F27E-F757-4C62-9F9A-108C95470783}"), locale("MS\\0x409"),
    DisplayName("metadata_ddl_alter_column"): Amended]
class XeSqlPkg_metadata_ddl_alter_column: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class metadata_ddl_alter_column: XeSqlPkg_metadata_ddl_alter_column
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 object_id;
	[WmiDataId(7), read] uint32 column_id;
	[WmiDataId(8), read, 
				XEMapId(77),
				ValueMap { 
					"104", 
					"34", 
					"50", 
					"35", 
					"250", 
					"40", 
					"42", 
					"43", 
					"0", 
					"52", 
					"56", 
					"127", 
					"60", 
					"31", 
					"59", 
					"62", 
					"58", 
					"122", 
					"173", 
					"61", 
					"106", 
					"36", 
					"108", 
					"175", 
					"98", 
					"239", 
					"1", 
					"243", 
					"41", 
					"189", 
					"240", 
					"48", 
					"165", 
					"167", 
					"231", 
					"99", 
					"241", 
					"242" },
				Values { 
					"XE_XVT_BIT", 
					"XE_XVT_BLOB", 
					"XE_XVT_BOOL", 
					"XE_XVT_CLOB", 
					"XE_XVT_CURSOR", 
					"XE_XVT_DATE", 
					"XE_XVT_DATETIME2", 
					"XE_XVT_DATETIMEOFFSET", 
					"XE_XVT_EMPTY", 
					"XE_XVT_I2", 
					"XE_XVT_I4", 
					"XE_XVT_I8", 
					"XE_XVT_MONEY", 
					"XE_XVT_NULL", 
					"XE_XVT_R4", 
					"XE_XVT_R8", 
					"XE_XVT_SMALLDATE", 
					"XE_XVT_SMALLMONEY", 
					"XE_XVT_SSBYTES", 
					"XE_XVT_SSDATE", 
					"XE_XVT_SSDECIMAL", 
					"XE_XVT_SSGUID", 
					"XE_XVT_SSNUMERIC", 
					"XE_XVT_SSSTR", 
					"XE_XVT_SSVARIANT", 
					"XE_XVT_SSWSTR", 
					"XE_XVT_TABLE", 
					"XE_XVT_TABLETYPE", 
					"XE_XVT_TIME", 
					"XE_XVT_TIMESTAMP", 
					"XE_XVT_UDT", 
					"XE_XVT_UI1", 
					"XE_XVT_VARBYTES", 
					"XE_XVT_VARSTR", 
					"XE_XVT_VARWSTR", 
					"XE_XVT_WLOB", 
					"XE_XVT_XML", 
					"XE_XVT_XMLNODE" }
			] uint32 datatype;
	[WmiDataId(9), read, 
				XEMapId(78),
				ValueMap { 
					"822136840", 
					"2030096392", 
					"956362760", 
					"1023463432", 
					"922796040", 
					"939577352", 
					"2046869512", 
					"1543557142", 
					"1526775830", 
					"1409339396", 
					"1392558084", 
					"3070283781", 
					"3523264520", 
					"3674259497", 
					"3540041769", 
					"3657482245", 
					"3556818949", 
					"3573596170", 
					"3590373384", 
					"3607150632", 
					"3623927816", 
					"3640705035", 
					"2617298973", 
					"2600517661", 
					"1442893837", 
					"1426112525", 
					"3120615438", 
					"906031112", 
					"872468488", 
					"855687176", 
					"1375784968", 
					"1359003656", 
					"1778438152", 
					"1761656840", 
					"2080436232", 
					"1912655880", 
					"1895874568", 
					"2181091336", 
					"2164310024", 
					"2315309064", 
					"2298527752", 
					"2449526792", 
					"2432745480", 
					"2583744520", 
					"2566963208", 
					"503382024", 
					"570486792", 
					"536924168", 
					"520142856", 
					"671154184", 
					"671090696", 
					"738258952", 
					"704696328", 
					"687915016", 
					"889245704", 
					"553701384", 
					"721473544", 
					"2650853406", 
					"2634072094", 
					"2684407838", 
					"2667626526", 
					"2013315080", 
					"1476448275", 
					"1459666963", 
					"1510002708", 
					"1493221396", 
					"1006686218", 
					"989904906", 
					"973131786", 
					"1577111575", 
					"1560330263", 
					"1610661916", 
					"1593884700", 
					"3103838218", 
					"3087061002", 
					"1811992603", 
					"1795211291" },
				Values { 
					"SQL_1xCompat_CP850_CI_AS", 
					"SQL_AltDiction_CP1253_CS_AS", 
					"SQL_AltDiction_CP850_CI_AI", 
					"SQL_AltDiction_CP850_CI_AS", 
					"SQL_AltDiction_CP850_CS_AS", 
					"SQL_AltDiction_Pref_CP850_CI_AS", 
					"SQL_AltDiction2_CP1253_CS_AS", 
					"SQL_Croatian_CP1250_CI_AS", 
					"SQL_Croatian_CP1250_CS_AS", 
					"SQL_Czech_CP1250_CI_AS", 
					"SQL_Czech_CP1250_CS_AS", 
					"SQL_Danish_Pref_CP1_CI_AS", 
					"SQL_EBCDIC037_CP1_CS_AS", 
					"SQL_EBCDIC1141_CP1_CS_AS", 
					"SQL_EBCDIC273_CP1_CS_AS", 
					"SQL_EBCDIC277_2_CP1_CS_AS", 
					"SQL_EBCDIC277_CP1_CS_AS", 
					"SQL_EBCDIC278_CP1_CS_AS", 
					"SQL_EBCDIC280_CP1_CS_AS", 
					"SQL_EBCDIC284_CP1_CS_AS", 
					"SQL_EBCDIC285_CP1_CS_AS", 
					"SQL_EBCDIC297_CP1_CS_AS", 
					"SQL_Estonian_CP1257_CI_AS", 
					"SQL_Estonian_CP1257_CS_AS", 
					"SQL_Hungarian_CP1250_CI_AS", 
					"SQL_Hungarian_CP1250_CS_AS", 
					"SQL_Icelandic_Pref_CP1_CI_AS", 
					"SQL_Latin1_General_CP1_CI_AI", 
					"SQL_Latin1_General_CP1_CI_AS", 
					"SQL_Latin1_General_CP1_CS_AS", 
					"SQL_Latin1_General_CP1250_CI_AS", 
					"SQL_Latin1_General_CP1250_CS_AS", 
					"SQL_Latin1_General_CP1251_CI_AS", 
					"SQL_Latin1_General_CP1251_CS_AS", 
					"SQL_Latin1_General_CP1253_CI_AI", 
					"SQL_Latin1_General_CP1253_CI_AS", 
					"SQL_Latin1_General_CP1253_CS_AS", 
					"SQL_Latin1_General_CP1254_CI_AS", 
					"SQL_Latin1_General_CP1254_CS_AS", 
					"SQL_Latin1_General_CP1255_CI_AS", 
					"SQL_Latin1_General_CP1255_CS_AS", 
					"SQL_Latin1_General_CP1256_CI_AS", 
					"SQL_Latin1_General_CP1256_CS_AS", 
					"SQL_Latin1_General_CP1257_CI_AS", 
					"SQL_Latin1_General_CP1257_CS_AS", 
					"SQL_Latin1_General_CP437_BIN", 
					"SQL_Latin1_General_CP437_CI_AI", 
					"SQL_Latin1_General_CP437_CI_AS", 
					"SQL_Latin1_General_CP437_CS_AS", 
					"SQL_Latin1_General_CP850_BIN", 
					"SQL_Latin1_General_CP850_BIN2", 
					"SQL_Latin1_General_CP850_CI_AI", 
					"SQL_Latin1_General_CP850_CI_AS", 
					"SQL_Latin1_General_CP850_CS_AS", 
					"SQL_Latin1_General_Pref_CP1_CI_AS", 
					"SQL_Latin1_General_Pref_CP437_CI_AS", 
					"SQL_Latin1_General_Pref_CP850_CI_AS", 
					"SQL_Latvian_CP1257_CI_AS", 
					"SQL_Latvian_CP1257_CS_AS", 
					"SQL_Lithuanian_CP1257_CI_AS", 
					"SQL_Lithuanian_CP1257_CS_AS", 
					"SQL_MixDiction_CP1253_CS_AS", 
					"SQL_Polish_CP1250_CI_AS", 
					"SQL_Polish_CP1250_CS_AS", 
					"SQL_Romanian_CP1250_CI_AS", 
					"SQL_Romanian_CP1250_CS_AS", 
					"SQL_Scandainavian_CP850_CI_AS", 
					"SQL_Scandainavian_CP850_CS_AS", 
					"SQL_Scandainavian_Pref_CP850_CI_AS", 
					"SQL_Slovak_CP1250_CI_AS", 
					"SQL_Slovak_CP1250_CS_AS", 
					"SQL_Slovenian_CP1250_CI_AS", 
					"SQL_Slovenian_CP1250_CS_AS", 
					"SQL_SwedishPhone_Pref_CP1_CI_AS", 
					"SQL_SwedishStd_Pref_CP1_CI_AS", 
					"SQL_Ukrainian_CP1251_CI_AS", 
					"SQL_Ukrainian_CP1251_CS_AS" }
			] uint32 collation;
	[WmiDataId(10), read] sint8  nullable;
	[WmiDataId(11), read] uint32 maxlen;
};
		
[dynamic: ToInstance, Description("Occurs when an ALTER TABLE DROP column operation is updating base index."): Amended,
    Guid("{6CF3B9DA-D456-4E2E-94C2-FDD69D9B19EB}"), locale("MS\\0x409"),
    DisplayName("metadata_ddl_drop_column"): Amended]
class XeSqlPkg_metadata_ddl_drop_column: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class metadata_ddl_drop_column: XeSqlPkg_metadata_ddl_drop_column
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 object_id;
	[WmiDataId(7), read] uint32 column_id;
};
		
[dynamic: ToInstance, Description("Occurs when sp_repl_generateevent is called. this event is an internal repl event for tracing repl stored procedures. The data that is returned from user_event includes the event_id that was specified in the call to sp_repl_generateevent. This can be a value between x and y."): Amended,
    Guid("{C43FAD88-2B31-416c-B521-51D48B7EE17F}"), locale("MS\\0x409"),
    DisplayName("repl_event"): Amended]
class XeSqlPkg_repl_event: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class repl_event: XeSqlPkg_repl_event
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint32 event_id;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string user_info;
	[WmiDataId(7), read, Extension("Variant")] object user_data;
};
		
[dynamic: ToInstance, Description("Profiling function CSQLSource::Execute()."): Amended,
    Guid("{AB3416A5-45CC-4E36-8792-306DB00C5B41}"), locale("MS\\0x409"),
    DisplayName("collect_all_CSQLSourceExecute"): Amended]
class XeSqlPkg_collect_all_CSQLSourceExecute: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class collect_all_CSQLSourceExecute: XeSqlPkg_collect_all_CSQLSourceExecute
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 cpu_ticks;
	[WmiDataId(6), read] uint64 f0;
	[WmiDataId(7), read] uint64 f1;
	[WmiDataId(8), read] uint64 f2;
	[WmiDataId(9), read] uint64 g0;
	[WmiDataId(10), read] uint64 g1;
	[WmiDataId(11), read] uint64 g2;
	[WmiDataId(12), read] uint64 g3;
	[WmiDataId(13), read] uint32 thread_id;
};
		
[dynamic: ToInstance, Description("Profiling function HKProc::FExecute()."): Amended,
    Guid("{2C38A25C-6CD3-4C2D-A105-272D5C276DA8}"), locale("MS\\0x409"),
    DisplayName("collect_all_HkProcFExecute"): Amended]
class XeSqlPkg_collect_all_HkProcFExecute: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class collect_all_HkProcFExecute: XeSqlPkg_collect_all_HkProcFExecute
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 cpu_ticks;
	[WmiDataId(6), read] uint64 f0;
	[WmiDataId(7), read] uint64 f1;
	[WmiDataId(8), read] uint64 f2;
	[WmiDataId(9), read] uint64 g0;
	[WmiDataId(10), read] uint64 g1;
	[WmiDataId(11), read] uint64 g2;
	[WmiDataId(12), read] uint64 g3;
	[WmiDataId(13), read] uint32 thread_id;
};
		
[dynamic: ToInstance, Description("Profiling function UDFInvokeExternal()."): Amended,
    Guid("{05836872-56FA-456D-92BD-FA6696C4B8F5}"), locale("MS\\0x409"),
    DisplayName("collect_all_UDFInvokeExternal"): Amended]
class XeSqlPkg_collect_all_UDFInvokeExternal: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class collect_all_UDFInvokeExternal: XeSqlPkg_collect_all_UDFInvokeExternal
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 cpu_ticks;
	[WmiDataId(6), read] uint64 f0;
	[WmiDataId(7), read] uint64 f1;
	[WmiDataId(8), read] uint64 f2;
	[WmiDataId(9), read] uint64 g0;
	[WmiDataId(10), read] uint64 g1;
	[WmiDataId(11), read] uint64 g2;
	[WmiDataId(12), read] uint64 g3;
	[WmiDataId(13), read] uint32 thread_id;
};
		
[dynamic: ToInstance, Description("Profiling function ExecUdfLobAccess()."): Amended,
    Guid("{694DAA03-DACD-4EB7-B9D3-10DC9B4D2BD9}"), locale("MS\\0x409"),
    DisplayName("collect_all_ExecUdfLobAccess"): Amended]
class XeSqlPkg_collect_all_ExecUdfLobAccess: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class collect_all_ExecUdfLobAccess: XeSqlPkg_collect_all_ExecUdfLobAccess
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 cpu_ticks;
	[WmiDataId(6), read] uint64 f0;
	[WmiDataId(7), read] uint64 f1;
	[WmiDataId(8), read] uint64 f2;
	[WmiDataId(9), read] uint64 g0;
	[WmiDataId(10), read] uint64 g1;
	[WmiDataId(11), read] uint64 g2;
	[WmiDataId(12), read] uint64 g3;
	[WmiDataId(13), read] uint32 thread_id;
};
		
[dynamic: ToInstance, Description("Profiling function ExecUdxDataAccess()."): Amended,
    Guid("{2A0F6195-7A33-4296-8CF2-9B4A70FFBBD7}"), locale("MS\\0x409"),
    DisplayName("collect_all_ExecUdxDataAccess"): Amended]
class XeSqlPkg_collect_all_ExecUdxDataAccess: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class collect_all_ExecUdxDataAccess: XeSqlPkg_collect_all_ExecUdxDataAccess
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 cpu_ticks;
	[WmiDataId(6), read] uint64 f0;
	[WmiDataId(7), read] uint64 f1;
	[WmiDataId(8), read] uint64 f2;
	[WmiDataId(9), read] uint64 g0;
	[WmiDataId(10), read] uint64 g1;
	[WmiDataId(11), read] uint64 g2;
	[WmiDataId(12), read] uint64 g3;
	[WmiDataId(13), read] uint32 thread_id;
};
		
[dynamic: ToInstance, Description("Profiling function CTableValuedClrUdf::GetRow()."): Amended,
    Guid("{325EA3D1-B462-4173-9789-BE2B3676BAAC}"), locale("MS\\0x409"),
    DisplayName("collect_all_GetRow"): Amended]
class XeSqlPkg_collect_all_GetRow: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class collect_all_GetRow: XeSqlPkg_collect_all_GetRow
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 cpu_ticks;
	[WmiDataId(6), read] uint64 f0;
	[WmiDataId(7), read] uint64 f1;
	[WmiDataId(8), read] uint64 f2;
	[WmiDataId(9), read] uint64 g0;
	[WmiDataId(10), read] uint64 g1;
	[WmiDataId(11), read] uint64 g2;
	[WmiDataId(12), read] uint64 g3;
	[WmiDataId(13), read] uint32 thread_id;
};
		
[dynamic: ToInstance, Description("Profiling function CTableValuedClrUdf::Init()."): Amended,
    Guid("{1EA78AFB-75EA-409F-9EFE-A5A73D87F850}"), locale("MS\\0x409"),
    DisplayName("collect_all_Init"): Amended]
class XeSqlPkg_collect_all_Init: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class collect_all_Init: XeSqlPkg_collect_all_Init
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 cpu_ticks;
	[WmiDataId(6), read] uint64 f0;
	[WmiDataId(7), read] uint64 f1;
	[WmiDataId(8), read] uint64 f2;
	[WmiDataId(9), read] uint64 g0;
	[WmiDataId(10), read] uint64 g1;
	[WmiDataId(11), read] uint64 g2;
	[WmiDataId(12), read] uint64 g3;
	[WmiDataId(13), read] uint32 thread_id;
};
		
[dynamic: ToInstance, Description("Occurs when a look up into the column store object pool, finds the object in the pool."): Amended,
    Guid("{2476cde4-44b5-4d05-ad9b-2b7823417d7b}"), locale("MS\\0x409"),
    DisplayName("column_store_object_pool_hit"): Amended]
class XeSqlPkg_column_store_object_pool_hit: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class column_store_object_pool_hit: XeSqlPkg_column_store_object_pool_hit
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(43),
				ValueMap { 
					"1", 
					"5", 
					"6", 
					"2", 
					"4", 
					"0" },
				Values { 
					"COLUMN_SEGMENT", 
					"COLUMN_SEGMENT_BULKINSERT_DICTIONARY", 
					"COLUMN_SEGMENT_DELETE_BITMAP", 
					"COLUMN_SEGMENT_PRIMARY_DICTIONARY", 
					"COLUMN_SEGMENT_SECONDARY_DICTIONARY", 
					"UNDEFINED" }
			] uint32 object_type;
	[WmiDataId(6), read] uint64 database_id;
	[WmiDataId(7), read] uint64 hobt_id;
	[WmiDataId(8), read] uint64 column_id;
	[WmiDataId(9), read] uint64 object_id;
};
		
[dynamic: ToInstance, Description("Occurs when an existing DQ session that matches the executing DQ is found in the session cache."): Amended,
    Guid("{EB13A4CB-735B-4888-A49B-EB6C1735F336}"), locale("MS\\0x409"),
    DisplayName("dq_session_cache_hit"): Amended]
class XeSqlPkg_dq_session_cache_hit: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class dq_session_cache_hit: XeSqlPkg_dq_session_cache_hit
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 remote_server_id;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string linked_server_name;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string provider_name;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string user_id;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string nt_user_id;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string provider_string_openrowset;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string datasource_openrowset;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string location_openrowset;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string catalog_openrowset;
};
		
[dynamic: ToInstance, Description("Occurs when no existing DQ session that matches the executing DQ is found in the session cache."): Amended,
    Guid("{90D34B3A-8CCC-48AD-8CB5-2578F5D2A848}"), locale("MS\\0x409"),
    DisplayName("dq_session_cache_miss"): Amended]
class XeSqlPkg_dq_session_cache_miss: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class dq_session_cache_miss: XeSqlPkg_dq_session_cache_miss
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 remote_server_id;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string linked_server_name;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string provider_name;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string user_id;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string nt_user_id;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string provider_string_openrowset;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string datasource_openrowset;
	[WmiDataId(12), read, StringTermination("NullTerminated"), Format("w")] string location_openrowset;
	[WmiDataId(13), read, StringTermination("NullTerminated"), Format("w")] string catalog_openrowset;
};
		
[dynamic: ToInstance, Description("Occurs when a DQ session is stored into the session cache."): Amended,
    Guid("{A9BB5E83-513B-4CCE-A181-848F303173CA}"), locale("MS\\0x409"),
    DisplayName("dq_session_cache_insert"): Amended]
class XeSqlPkg_dq_session_cache_insert: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class dq_session_cache_insert: XeSqlPkg_dq_session_cache_insert
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 remote_server_id;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string user_id;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string nt_user_id;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string provider_string_openrowset;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string datasource_openrowset;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string location_openrowset;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string catalog_openrowset;
};
		
[dynamic: ToInstance, Description("Occurs when a DQ session is removed from the session cache."): Amended,
    Guid("{94116679-5AF4-4FA5-9B03-FBAD666D8888}"), locale("MS\\0x409"),
    DisplayName("dq_session_cache_remove"): Amended]
class XeSqlPkg_dq_session_cache_remove: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class dq_session_cache_remove: XeSqlPkg_dq_session_cache_remove
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint64 remote_server_id;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string user_id;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string nt_user_id;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string provider_string_openrowset;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string datasource_openrowset;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string location_openrowset;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string catalog_openrowset;
};
		
[dynamic: ToInstance, Description("Occurs when the session cache is invalidated."): Amended,
    Guid("{FF2F8D03-1CF3-4A31-9D6D-ED2479E2C024}"), locale("MS\\0x409"),
    DisplayName("dq_session_cache_flush"): Amended]
class XeSqlPkg_dq_session_cache_flush: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class dq_session_cache_flush: XeSqlPkg_dq_session_cache_flush
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
};
		
[dynamic: ToInstance, Description("Occurs when an attempt to acquire global lock used before attempting to create a global IDataInitialize object"): Amended,
    Guid("{E060F26F-A62B-4CEC-9C70-47ECBEDE8B1B}"), locale("MS\\0x409"),
    DisplayName("data_initialize_lock_request"): Amended]
class XeSqlPkg_data_initialize_lock_request: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class data_initialize_lock_request: XeSqlPkg_data_initialize_lock_request
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
};
		
[dynamic: ToInstance, Description("Occurs when global lock for global IDataInitialize object is acquired"): Amended,
    Guid("{9A895885-23AE-4DBF-8928-738829997E85}"), locale("MS\\0x409"),
    DisplayName("data_initialize_lock_acquired"): Amended]
class XeSqlPkg_data_initialize_lock_acquired: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class data_initialize_lock_acquired: XeSqlPkg_data_initialize_lock_acquired
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
};
		
[dynamic: ToInstance, Description("Occurs immediately before global IDataInitialize object initializes"): Amended,
    Guid("{B01EBFC5-D3A2-4DEF-8AE7-A41371FC97D8}"), locale("MS\\0x409"),
    DisplayName("data_initialize_object_initialization"): Amended]
class XeSqlPkg_data_initialize_object_initialization: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class data_initialize_object_initialization: XeSqlPkg_data_initialize_object_initialization
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
};
		
[dynamic: ToInstance, Description("Occurs whenever global IDataInitialize object is returned to calling function"): Amended,
    Guid("{B1C655CD-880C-4EFA-B4E1-E648A6E7B644}"), locale("MS\\0x409"),
    DisplayName("data_initialize_object_return"): Amended]
class XeSqlPkg_data_initialize_object_return: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class data_initialize_object_return: XeSqlPkg_data_initialize_object_return
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
};
		
[dynamic: ToInstance, Description("Occurs when Hekaton MATGen is invoked"): Amended,
    Guid("{228c0c1e-9eda-45b9-a412-ca96d75a171d}"), locale("MS\\0x409"),
    DisplayName("hekaton_matgen"): Amended]
class XeSqlPkg_hekaton_matgen: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class hekaton_matgen: XeSqlPkg_hekaton_matgen
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, StringTermination("NullTerminated"), Format("w")] string proc_text;
};
		
[dynamic: ToInstance, Description("Occurs when Hekaton SAL error is raised"): Amended,
    Guid("{9f4681a8-bd9c-4a1a-b900-9ea0cfbe8fca}"), locale("MS\\0x409"),
    DisplayName("hekaton_sal_error"): Amended]
class XeSqlPkg_hekaton_sal_error: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class hekaton_sal_error: XeSqlPkg_hekaton_sal_error
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 feature_id;
};
		
[dynamic: ToInstance, Description("Occurs when a Hekaton procedure call dispatch goes to slow parameter passing code path"): Amended,
    Guid("{0ccbad32-1665-4bbd-b91e-cd34a912245e}"), locale("MS\\0x409"),
    DisplayName("natively_compiled_proc_slow_parameter_passing"): Amended]
class XeSqlPkg_natively_compiled_proc_slow_parameter_passing: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class natively_compiled_proc_slow_parameter_passing: XeSqlPkg_natively_compiled_proc_slow_parameter_passing
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 object_id;
	[WmiDataId(7), read, 
				XEMapId(38),
				ValueMap { 
					"0", 
					"1", 
					"2", 
					"3", 
					"4" },
				Values { 
					"reason_none", 
					"parameter_defaults", 
					"named_parameters", 
					"parameter_conversion", 
					"parameter_error" }
			] uint8 reason;
	[WmiDataId(8), read] uint32 parameter_index;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string parameter_name;
};
		
[dynamic: ToInstance, Description("Occurs when an IPC call arrives to the server"): Amended,
    Guid("{cee5a5fd-8ac5-4779-a744-881d3faceb99}"), locale("MS\\0x409"),
    DisplayName("ipc_call"): Amended]
class XeSqlPkg_ipc_call: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class ipc_call: XeSqlPkg_ipc_call
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 proc_id;
};
		
[dynamic: ToInstance, Description("Occurs when the diag is notified of quantum end."): Amended,
    Guid("{4d9fd3ab-9cea-414b-961d-121e17791700}"), locale("MS\\0x409"),
    DisplayName("diag_quantum_end"): Amended]
class XeSqlPkg_diag_quantum_end: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class diag_quantum_end: XeSqlPkg_diag_quantum_end
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 cpu_time;
	[WmiDataId(6), read] uint32 logical_reads;
	[WmiDataId(7), read] uint32 logical_writes;
};
		
[dynamic: ToInstance, Description("Occurs when the optimizer times out either due to spending too much time or hitting a memory limit.  Use this event to look at all the queries that are impacted by the optimizer timeout in a particular workload. This can be very useful when tuning a particular workload."): Amended,
    Guid("{2d531280-e102-49a9-a3f9-58ef22f2877f}"), locale("MS\\0x409"),
    DisplayName("optimizer_timeout"): Amended]
class XeSqlPkg_optimizer_timeout: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class optimizer_timeout: XeSqlPkg_optimizer_timeout
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, 
				XEMapId(39),
				ValueMap { 
					"1", 
					"2" },
				Values { 
					"Abort Time out", 
					"Abort Memory limit exceeded" }
			] uint8 timeout_type;
	[WmiDataId(6), read] uint64 optimizer_timeout_task_number;
};
		
[dynamic: ToInstance, Description("Occurs when the optimizer cannot get enough join selectivity information.  Use this event to look at the queries where spatial index could be used and the optimizer guesses the spatial selectivity."): Amended,
    Guid("{d8264e5c-40d1-4b46-80cb-46ab177a380d}"), locale("MS\\0x409"),
    DisplayName("spatial_guess"): Amended]
class XeSqlPkg_spatial_guess: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class spatial_guess: XeSqlPkg_spatial_guess
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint8  compile_time;
};
		
[dynamic: ToInstance, Description("Occurs when the optimizer cannot use a filtered index due to parameterization.  For each such index an event is fired.  The unmatched_database_name, unmatched_schema_name, unmatched_table_name, unmatched_index_name fields give details of the filtered index that could not be used."): Amended,
    Guid("{5f686532-d28d-4e20-b0c2-d977174dbae1}"), locale("MS\\0x409"),
    DisplayName("unmatched_filtered_indexes"): Amended]
class XeSqlPkg_unmatched_filtered_indexes: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class unmatched_filtered_indexes: XeSqlPkg_unmatched_filtered_indexes
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint8  compile_time;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string unmatched_database_name;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string unmatched_schema_name;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string unmatched_table_name;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string unmatched_index_name;
};
		
[dynamic: ToInstance, Description("Occurs when a type convert issue affects the plan.  The expression value indicates the conversion that can cause inaccurate Cardinality Estimation or prevent from using a seek based plan in the query plan choice.  If performance is affected, rewriting the query could help."): Amended,
    Guid("{5e8d6c07-6c28-4a98-b96c-02f045cf381f}"), locale("MS\\0x409"),
    DisplayName("plan_affecting_convert"): Amended]
class XeSqlPkg_plan_affecting_convert: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class plan_affecting_convert: XeSqlPkg_plan_affecting_convert
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] sint8  compile_time;
	[WmiDataId(6), read, 
				XEMapId(40),
				ValueMap { 
					"0", 
					"1", 
					"2" },
				Values { 
					"Unknown", 
					"Cardinality Estimate", 
					"Seek Plan" }
			] uint8 convert_issue;
	[WmiDataId(7), read, StringTermination("NullTerminated"), Format("w")] string expression;
};
		
[dynamic: ToInstance, Description("Occurs when selective XML index is not used for a XML query due to the user using an unsupported path type."): Amended,
    Guid("{74bef956-4527-4693-a48f-d8a6d5010119}"), locale("MS\\0x409"),
    DisplayName("selective_xml_index_path_not_supported"): Amended]
class XeSqlPkg_selective_xml_index_path_not_supported: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class selective_xml_index_path_not_supported: XeSqlPkg_selective_xml_index_path_not_supported
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 table_id;
	[WmiDataId(7), read] uint32 index_id;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string method_name;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string xml_path;
};
		
[dynamic: ToInstance, Description("Occurs when the path given in the user query is not promoted in the selective XML index, and thus the index is not used."): Amended,
    Guid("{5d4c1568-f545-402e-a7bf-374647e534ef}"), locale("MS\\0x409"),
    DisplayName("selective_xml_index_path_not_indexed"): Amended]
class XeSqlPkg_selective_xml_index_path_not_indexed: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class selective_xml_index_path_not_indexed: XeSqlPkg_selective_xml_index_path_not_indexed
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 table_id;
	[WmiDataId(7), read] uint32 index_id;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string method_name;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string xml_path;
};
		
[dynamic: ToInstance, Description("Occurs when a value() method is used in a query, specifying a sql type that differs from the type specified during selective XML index creation for that path."): Amended,
    Guid("{56aa363e-e1d3-49ba-b0d8-a6b2008e5846}"), locale("MS\\0x409"),
    DisplayName("selective_xml_index_no_compatible_sql_type"): Amended]
class XeSqlPkg_selective_xml_index_no_compatible_sql_type: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class selective_xml_index_no_compatible_sql_type: XeSqlPkg_selective_xml_index_no_compatible_sql_type
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 table_id;
	[WmiDataId(7), read] uint32 index_id;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string method_name;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string xml_path;
};
		
[dynamic: ToInstance, Description("Occurs when the user specifies a different resulting XSD type in a query, than the one that was used to promote the path during selective XML index creation."): Amended,
    Guid("{b16218fa-8129-4360-a744-e7551f311de3}"), locale("MS\\0x409"),
    DisplayName("selective_xml_index_no_compatible_xsd_types"): Amended]
class XeSqlPkg_selective_xml_index_no_compatible_xsd_types: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class selective_xml_index_no_compatible_xsd_types: XeSqlPkg_selective_xml_index_no_compatible_xsd_types
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 table_id;
	[WmiDataId(7), read] uint32 index_id;
	[WmiDataId(8), read, StringTermination("NullTerminated"), Format("w")] string method_name;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string xml_path;
};
		
[dynamic: ToInstance, Description("Occurs at start of MAT generation."): Amended,
    Guid("{045aa7f9-d644-4c6c-ad35-0554c11d90d5}"), locale("MS\\0x409"),
    DisplayName("xtp_matgen"): Amended]
class XeSqlPkg_xtp_matgen: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class xtp_matgen: XeSqlPkg_xtp_matgen
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 object_id;
};
		
[dynamic: ToInstance, Description("Occurs at start of XTP table creation."): Amended,
    Guid("{228d4e2f-d6c7-4127-bb55-7bbc5df4ccb2}"), locale("MS\\0x409"),
    DisplayName("xtp_create_table"): Amended]
class XeSqlPkg_xtp_create_table: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class xtp_create_table: XeSqlPkg_xtp_create_table
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 object_id;
};
		
[dynamic: ToInstance, Description("Occurs at start of XTP procedure creation."): Amended,
    Guid("{9d575a23-2663-4d3f-930b-446ad77310e2}"), locale("MS\\0x409"),
    DisplayName("xtp_create_procedure"): Amended]
class XeSqlPkg_xtp_create_procedure: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class xtp_create_procedure: XeSqlPkg_xtp_create_procedure
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 object_id;
};
		
[dynamic: ToInstance, Description("Occurs at completion of XTP object deployment."): Amended,
    Guid("{e58d2740-0db4-49c7-b8c7-55ed1804d19c}"), locale("MS\\0x409"),
    DisplayName("xtp_deploy_done"): Amended]
class XeSqlPkg_xtp_deploy_done: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class xtp_deploy_done: XeSqlPkg_xtp_deploy_done
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 object_id;
};
		
[dynamic: ToInstance, Description("Occurs at just before the XTP storage table is created."): Amended,
    Guid("{179C98A0-5A68-47F9-81F3-A2ABB608C660}"), locale("MS\\0x409"),
    DisplayName("xtp_storage_table_create"): Amended]
class XeSqlPkg_xtp_storage_table_create: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class xtp_storage_table_create: XeSqlPkg_xtp_storage_table_create
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
};
		
[dynamic: ToInstance, Description("Fired before a natively compiled procedure is executed."): Amended,
    Guid("{4adf8b3d-f931-483d-b57d-b94885a52689}"), locale("MS\\0x409"),
    DisplayName("natively_compiled_proc_execution_started"): Amended]
class XeSqlPkg_natively_compiled_proc_execution_started: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class natively_compiled_proc_execution_started: XeSqlPkg_natively_compiled_proc_execution_started
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 object_id;
};
		
[dynamic: ToInstance, Description("Fired before the procedure cache entry is flushed when dropping a natively compiled procedure."): Amended,
    Guid("{d4ba6205-0fc9-4fa5-b279-b2bc50ac8c47}"), locale("MS\\0x409"),
    DisplayName("before_natively_compiled_proc_entry_removal_on_drop"): Amended]
class XeSqlPkg_before_natively_compiled_proc_entry_removal_on_drop: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class before_natively_compiled_proc_entry_removal_on_drop: XeSqlPkg_before_natively_compiled_proc_entry_removal_on_drop
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 object_id;
};
		
[dynamic: ToInstance, Description("Fired after the procedure cache entry is flushed when dropping a natively compiled procedure."): Amended,
    Guid("{2a889a49-3cf4-4e56-abc7-36d95e2bac83}"), locale("MS\\0x409"),
    DisplayName("after_natively_compiled_proc_entry_removal_on_drop"): Amended]
class XeSqlPkg_after_natively_compiled_proc_entry_removal_on_drop: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class after_natively_compiled_proc_entry_removal_on_drop: XeSqlPkg_after_natively_compiled_proc_entry_removal_on_drop
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] uint32 object_id;
};
		
[dynamic: ToInstance, Description("Fired if the Query Store failed to capture query. The Query Store will not track statistics for this query"): Amended,
    Guid("{D09E9B06-B53D-11E1-B12D-AECC6188709B}"), locale("MS\\0x409"),
    DisplayName("query_store_failed_to_capture_query"): Amended]
class XeSqlPkg_query_store_failed_to_capture_query: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class query_store_failed_to_capture_query: XeSqlPkg_query_store_failed_to_capture_query
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 source_database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read] sint32 line_number;
	[WmiDataId(8), read] sint32 offset;
	[WmiDataId(9), read] sint32 offset_end;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string partial_text;
};
		
[dynamic: ToInstance, Description("Fired if the query failed to load forced plan from QDS. Forcing policy will not be applied"): Amended,
    Guid("{A741228A-BAD1-11E1-B353-9DEB6088709B}"), locale("MS\\0x409"),
    DisplayName("query_store_failed_to_load_forced_plan"): Amended]
class XeSqlPkg_query_store_failed_to_load_forced_plan: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class query_store_failed_to_load_forced_plan: XeSqlPkg_query_store_failed_to_load_forced_plan
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 source_database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read] sint32 line_number;
	[WmiDataId(8), read] sint32 offset;
	[WmiDataId(9), read] sint32 offset_end;
	[WmiDataId(10), read] sint32 error_number;
	[WmiDataId(11), read, StringTermination("NullTerminated"), Format("w")] string partial_text;
};
		
[dynamic: ToInstance, Description("Occurs when clustered index on the table was rebuilt. This event is raised three times for ALTER index rebuild operation on CCSI. The event is raised when the operation takes lock on index rebuild resource, when lock is taken on the table and when S lock on the table is upgraded to SCH_M lock to switch indexes in metadata."): Amended,
    Guid("{637184bd-cb4c-4eb6-bdca-3f1b9e87d269}"), locale("MS\\0x409"),
    DisplayName("clustered_columnstore_index_rebuild"): Amended]
class XeSqlPkg_clustered_columnstore_index_rebuild: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class clustered_columnstore_index_rebuild: XeSqlPkg_clustered_columnstore_index_rebuild
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read] uint32 database_id;
	[WmiDataId(6), read] sint32 object_id;
	[WmiDataId(7), read, 
				XEMapId(41),
				ValueMap { 
					"1", 
					"2", 
					"3" },
				Values { 
					"LOCK_INDEX_REBUILD_RESOURCE", 
					"LOCK_TABLE", 
					"UPGRADE_TO_SCHEMA_MOD_LOCK" }
			] uint8 rebuild_phase;
	[WmiDataId(8), read] sint64 transaction_id;
	[WmiDataId(9), read, StringTermination("NullTerminated"), Format("w")] string object_name;
	[WmiDataId(10), read, StringTermination("NullTerminated"), Format("w")] string database_name;
};
		
[dynamic: ToInstance, Description("Occurs when a request enqueue fails because a worker was not guaranteed."): Amended,
    Guid("{20bfc68d-162c-4f6f-9617-b933c753aec5}"), locale("MS\\0x409"),
    DisplayName("server_max_workers"): Amended]
class XeSqlPkg_server_max_workers: XeSqlPkg
{
};

[dynamic: ToInstance, EventType(0), EventVersion(1)]
class server_max_workers: XeSqlPkg_server_max_workers
{
	[WmiDataId(1), Description("FragmentId"): Amended,read] uint32 FragmentId;
	[WmiDataId(2), Description("RemainingLength"): Amended,read] uint32 RemainingLength;
	[WmiDataId(3), Description("ActivityId"): Amended,ActivityID, read, Extension("Guid")] guid ActivityId;
	[WmiDataId(4), Description("SequenceNumber"): Amended,read] uint32 SequenceNumber;
	[WmiDataId(5), read, Pointer] object  scheduler_address;
	[WmiDataId(6), read, StringTermination("NullTerminated"), Format("w")] string workload_group;
};
		