Właściwość Operator.CategoryName
Pobiera lub ustawia nazwę kategorii, do której operator należy.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo.Agent
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property CategoryName As String
Get
Set
'Użycie
Dim instance As [Operator]
Dim value As String
value = instance.CategoryName
instance.CategoryName = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string CategoryName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ CategoryName {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member CategoryName : string with get, set
function get CategoryName () : String
function set CategoryName (value : String)
Wartość właściwości
Typ: System.String
A String wartość, która określa nazwę kategorii alert.
Uwagi
The CategoryName property of the SQL Server Management Objects (SMO) Operator object reference an applicable SQL Server Agent operator category.
Ustawienie Category dla właściwość JobFilter ogranicza obiektu wymienionych SQL Server zadania agenta do osób mających kategorii podczas korzystania z EnumJobs metoda JobServer obiektu.