Aracılığıyla paylaş


sp_syscollector_delete_collector_type (Transact-SQL)

Toplayıcı türü tanımlaması siler.

Topic link iconTransact-SQL sözdizimi kuralları

sp_syscollector_delete_collector_type [[ @collector_type_uid = ] 'collector_type_uid' ]
          , [[ @name = ] 'name' ]

Bağımsız değişkenler

  • [ @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.

Dönüş Kodu Değerleri

0 (başarılı) veya 1 (hata)

Remarks

Her iki collector_type_uid veya name gereken bir değer, her ikisi de null olamaz.

Bu koleksiyon türü koleksiyon öğeleri varsa, bu yordamı bir hata durum oluşturur.

İzinler

Üyelik gerektirir dc_admin yürütmek izni) ile (sabit veritabanı rolü, bu yordam yürütülemiyor.

Example

Bu örnekte, genel bir T-SQL sorgu toplayıcı türü siler.

USE msdb;
GO
EXEC sp_syscollector_delete_collector_type @collector_type_uid = '302E93D1-3424-4be7-AA8E-84813ECF2419'

See Also

Reference

Other Resources