Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a collection of OperatorCategory objects. Each OperatorCategory object represents an operator category defined on SQL Server Agent.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(OperatorCategory))> _
Public ReadOnly Property OperatorCategories As OperatorCategoryCollection
Get
'Usage
Dim instance As JobServer
Dim value As OperatorCategoryCollection
value = instance.OperatorCategories
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(OperatorCategory))]
public OperatorCategoryCollection OperatorCategories { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(OperatorCategory))]
public:
property OperatorCategoryCollection^ OperatorCategories {
OperatorCategoryCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(OperatorCategory))>]
member OperatorCategories : OperatorCategoryCollection
function get OperatorCategories () : OperatorCategoryCollection
Property Value
Type: Microsoft.SqlServer.Management.Smo.Agent.OperatorCategoryCollection
A OperatorCategoryCollection that represents the operator categories defined on SQL Server Agent.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace