sp_syscollector_delete_collector_type [[ @collector_type_uid = ] 'collector_type_uid' ]
, [[ @name = ] 'name' ]
[ @collector_type_uid = ] 'collector_type_uid'
Is the GUID for the collector type. collector_type_uid is uniqueidentifier and must have a value if name is NULL.
[ @name = ] 'name'
Is the name of the collector type. name is sysname and must have a value if collector_type_uid is NULL.
0 (success) or 1 (failure)
Either collector_type_uid or name must have a value, both cannot be NULL.
This procedure will throw an error if collection items of this collection type exist.
Requires membership in the dc_admin (with EXECUTE permission) fixed database role to execute this procedure.
This example deletes the Generic T-SQL Query collector type.
EXEC sp_syscollector_delete_collector_type @collector_type_uid = '302E93D1-3424-4be7-AA8E-84813ECF2419';
(1500 characters remaining)
Thank you for your feedback