Microsoft.SQLServer.AgentJobSQL 代理作业

Microsoft.SQLServer.AgentJob (ClassType)

所有 Microsoft SQL Server 代理作业(无论何种版本)。

Knowledge Base article:

Summary

All Microsoft SQL Server 2008, 2008 R2 and 2012 Agent jobs.

Element properties:

Base ClassMicrosoft.SQLServer.Component
AbstractTrue
HostedFalse
SingletonFalse
ExtensionFalse
AccessibilityPublic
ElementId635af3d9-a708-1b82-e46b-608cc7de4f31

Class Hierarchy:

Class Properties:

Property Name Type Display Name (CHS) Description (CHS) Key Max Length Min Length Case Sensitive
System.Entity:
DisplayName  string  显示名称 监视对象的显示名称。 false 256  False 
Microsoft.SQLServer.AgentJob:
JobID  string  作业 ID true 256  False 
Name  string  作业名称 false 256  False 
Description  string  说明 false 512  False 
Category  string  类别 false 256  False 
Owner  string  所有者 false 256  False 
OriginatingServer  string  发起服务器 false 256  False 
IsEnabled  bool  已启用 false 256   

Health Model:

Source Code:

<ClassType ID="Microsoft.SQLServer.AgentJob" Accessibility="Public" Base="Microsoft.SQLServer.Component" Hosted="false" Abstract="true" Singleton="false">
<Property ID="JobID" Type="string" Key="true"/>
<Property ID="Name" Type="string"/>
<Property ID="Description" Type="string" Length="512"/>
<Property ID="Category" Type="string"/>
<Property ID="Owner" Type="string"/>
<Property ID="OriginatingServer" Type="string"/>
<Property ID="IsEnabled" Type="bool"/>
</ClassType>