共用方式為


JobServer 成員

The JobServer object represents the SQL Server Agent subsystem and the msdb database.

JobServer 型別公開下列成員。

方法

  名稱 描述
受保護的方法 AddDatabaseContext (繼承自 SqlSmoObject。)
公用方法 Alter Updates any JobServer object property changes on an instance of SQL Server. 
受保護的方法 AlterImpl (繼承自 SqlSmoObject。)
受保護的方法 AlterImplFinish (繼承自 SqlSmoObject。)
受保護的方法 AlterImplInit (繼承自 SqlSmoObject。)
受保護的方法 AlterImplWorker (繼承自 SqlSmoObject。)
受保護的方法 BindDefaultImpl (繼承自 SqlSmoObject。)
受保護的方法 BindRuleImpl (繼承自 SqlSmoObject。)
受保護的方法 CheckCollation (繼承自 SqlSmoObject。)
受保護的方法 CheckObjectState() () () () Validates the state of the referenced object. (繼承自 SqlSmoObject。)
受保護的方法 CheckObjectState(Boolean) Validates the state of the referenced object with the option to specify that an exception is thrown if the object is not yet created. (繼承自 SqlSmoObject。)
受保護的方法 CheckObjectStateImpl (繼承自 SqlSmoObject。)
受保護的方法 CheckVersion100 (繼承自 SqlSmoObject。)
受保護的方法 CheckVersion80 Checks the validity of the object on SQL Server 2000. (繼承自 SqlSmoObject。)
受保護的方法 CheckVersion80SP3 Checks the validity of the object on SQL Server 2000 SP3. (繼承自 SqlSmoObject。)
受保護的方法 CheckVersion90 Check the validity of the object on SQL Server 2005. (繼承自 SqlSmoObject。)
受保護的方法 CheckVersionBelow90 (繼承自 SqlSmoObject。)
受保護的方法 CleanObject (繼承自 SqlSmoObject。)
公用方法 ClearHostLoginAccount Clears the host login account and uses integrated security to log in to SQL Server.
公用方法 ClearMsxAccount Clears the master server login account and uses integrated security to log in to the master server.
受保護的方法 CreateImpl (繼承自 SqlSmoObject。)
受保護的方法 CreateImplFinish (繼承自 SqlSmoObject。)
受保護的方法 CreateImplInit (繼承自 SqlSmoObject。)
公用方法 CycleErrorLog Closes and renames the current error log, and then creates a new empty error log file.
公用方法 Discover (繼承自 SqlSmoObject。)
受保護的方法 DropImpl (繼承自 SqlSmoObject。)
受保護的方法 DropImplWorker (繼承自 SqlSmoObject。)
公用方法 DropJobByID Removes the job with the specified ID value.
公用方法 DropJobsByLogin Removes the job with the specified login name.
公用方法 DropJobsByServer Removes the job with the specified server.
公用方法 EnumErrorLogs Enumerates a list of SQL Server Agent error log information.
公用方法 EnumJobHistory() () () () Enumerates a list of SQL Server Agent job history information.
公用方法 EnumJobHistory(JobHistoryFilter) Enumerates a list of job history information.
公用方法 EnumJobs() () () () Enumerates a list of information about the current job.
公用方法 EnumJobs(JobFilter) Enumerates a list of information about current jobs.
公用方法 EnumPerformanceCounters() () () () Enumerates a list of SQL Server Agent performance counter information.
公用方法 EnumPerformanceCounters(String) Enumerates a list of SQL Server Agent performance counter information for the specified object.
公用方法 EnumPerformanceCounters(String, String) Enumerates a list of SQL Server Agent performance counter information for the specified object and specified counter.
公用方法 EnumPerformanceCounters(String, String, String) Enumerates a list of SQL Server Agent performance counter information for the specified object, specified counter, and specified instance of SQL Server.
受保護的方法 EnumScriptImpl (繼承自 SqlSmoObject。)
受保護的方法 EnumScriptImplWorker (繼承自 SqlSmoObject。)
公用方法 EnumSubSystems Enumerates a list of SQL Server Agent execution subsystems.
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
受保護的方法 FormatSqlVariant (繼承自 SqlSmoObject。)
受保護的方法 GenerateDataSpaceFileStreamScript (繼承自 SqlSmoObject。)
受保護的方法 GenerateDataSpaceScript (繼承自 SqlSmoObject。)
受保護的方法 GetBindDefaultScript (繼承自 SqlSmoObject。)
受保護的方法 GetBindRuleScript (繼承自 SqlSmoObject。)
受保護的方法 GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (繼承自 SqlSmoObject。)
受保護的方法 GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (繼承自 SqlSmoObject。)
受保護的方法 GetDateTimeParameter (繼承自 SqlSmoObject。)
受保護的方法 GetDateTimeParameterAsInt (繼承自 SqlSmoObject。)
受保護的方法 GetDBName Gets the database name that is associated with the object. (繼承自 SqlSmoObject。)
受保護的方法 GetEnumParameter (繼承自 SqlSmoObject。)
受保護的方法 GetFragOptionString (繼承自 SqlSmoObject。)
受保護的方法 GetGuidParameter (繼承自 SqlSmoObject。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetJobByID Returns a job with the specified ID value.
受保護的方法 GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (繼承自 SqlSmoObject。)
受保護的方法 GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (繼承自 SqlSmoObject。)
受保護的方法 GetPropValue (繼承自 SqlSmoObject。)
受保護的方法 GetPropValueOptional (繼承自 SqlSmoObject。)
受保護的方法 GetPropValueOptionalAllowNull (繼承自 SqlSmoObject。)
受保護的方法 GetRealValue (繼承自 SqlSmoObject。)
受保護的方法 GetScriptingOptionsForCreate (繼承自 SqlSmoObject。)
受保護的方法 GetServerName Gets the name of the instance of SQL Server with which the object is associated. (繼承自 SqlSmoObject。)
受保護的方法 GetServerObject (繼承自 SqlSmoObject。)
受保護的方法 GetSqlServerVersionName Gets the version name of the instance of SQL Server with which the object is associated. (繼承自 SqlSmoObject。)
受保護的方法 GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (繼承自 SqlSmoObject。)
受保護的方法 GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (繼承自 SqlSmoObject。)
受保護的方法 GetTimeSpanParameterAsInt (繼承自 SqlSmoObject。)
公用方法 GetType (繼承自 Object。)
受保護的方法 GetUrnRecursive(StringBuilder) (繼承自 SqlSmoObject。)
受保護的方法 GetUrnRecursive(StringBuilder, UrnIdOption) (繼承自 SqlSmoObject。)
受保護的方法 ImplInitialize (繼承自 SqlSmoObject。)
公用方法 Initialize() () () () Initializes the object and forces the properties be loaded. (繼承自 SqlSmoObject。)
公用方法 Initialize(Boolean) Initializes the object and forces the properties be loaded. (繼承自 SqlSmoObject。)
受保護的方法 IsObjectDirty Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server. (繼承自 SqlSmoObject。)
受保護的方法 IsObjectInitialized Verifies whether the object has been initialized. (繼承自 SqlSmoObject。)
受保護的方法 IsObjectInSpace Verifies whether the object is isolated or connected to the instance of SQL Server. (繼承自 SqlSmoObject。)
受保護的方法 IsVersion80SP3 (繼承自 SqlSmoObject。)
受保護的方法 MarkDropped (繼承自 SqlSmoObject。)
受保護的方法 MarkForDropImpl (繼承自 SqlSmoObject。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 MsxDefect() () () () Ends SQL Server Agent participation in a multiserver administration group. 
公用方法 MsxDefect(Boolean) Ends SQL Server Agent participation in a multiserver administration group with the option to force defection.
公用方法 MsxEnlist Enlists SQL Server Agent as a target server with the specified master server in a multiserver administration.
受保護的方法 PostAlter (繼承自 SqlSmoObject。)
受保護的方法 PostCreate (繼承自 SqlSmoObject。)
受保護的方法 PostDrop (繼承自 SqlSmoObject。)
公用方法 PurgeJobHistory() () () () Removes all logged records of SQL Server Agent jobs.
公用方法 PurgeJobHistory(JobHistoryFilter) Removes all logged records of SQL Server Agent jobs as specified by a filter.
公用方法 ReadErrorLog() () () () Enumerates the error log.
公用方法 ReadErrorLog(Int32) Enumerates the error log.
公用方法 ReassignJobsByLogin Changes ownership for any SQL Server Agent job currently owned by a SQL Server login.
公用方法 Refresh Refreshes the object and retrieves properties when the object is next accessed. (繼承自 SqlSmoObject。)
公用方法 RemoveJobByID Removes a job with a specified ID value.
公用方法 RemoveJobsByLogin Removes a job with a specified login.
公用方法 Script() () () () Generates a Transact-SQL script that can be used to re-create SQL Server Agent.
公用方法 Script(ScriptingOptions) Generates a Transact-SQL script that can be used to re-create SQL Server Agent as specified by the scripting options.
受保護的方法 ScriptAlter (繼承自 SqlSmoObject。)
受保護的方法 ScriptCreate (繼承自 SqlSmoObject。)
受保護的方法 ScriptDdl (繼承自 SqlSmoObject。)
受保護的方法 ScriptDrop (繼承自 SqlSmoObject。)
受保護的方法 ScriptImpl() () () () (繼承自 SqlSmoObject。)
受保護的方法 ScriptImpl(ScriptingOptions) (繼承自 SqlSmoObject。)
受保護的方法 ScriptImplWorker (繼承自 SqlSmoObject。)
公用方法 SetHostLoginAccount Sets the SQL Server authentication account and password used to log in to SQL Server.
公用方法 SetMsxAccount(String) Sets the name of the credentials used to log in to the master server in multiserver administration.
公用方法 SetMsxAccount(String, String) Sets the name of the credentials used to log in to the master server in multiserver administration.
受保護的方法 SetParentImpl (繼承自 SqlSmoObject。)
公用方法 StartMonitor Starts monitoring the local SQL Server Agent Service by an instance of SQL Server.
公用方法 StopMonitor Ends monitoring the local SQL Server Agent Service by an instance of SQL Server.
公用方法 TestMailProfile Tests the validity of an e-mail profile.
公用方法 TestNetSend Tests the validity of a net send address.
公用方法 ToString Returns a String that represents the referenced object. (繼承自 SqlSmoObject。)
受保護的方法 TouchImpl (繼承自 SqlSmoObject。)
受保護的方法 UnbindDefaultImpl (繼承自 SqlSmoObject。)
受保護的方法 UnbindRuleImpl (繼承自 SqlSmoObject。)
公用方法 Validate (繼承自 SmoObjectBase。)

頂端

欄位

  名稱 描述
受保護的欄位 m_ExtendedProperties (繼承自 SqlSmoObject。)

頂端

屬性

  名稱 描述
公用屬性 AgentDomainGroup Gets the SQL Server Agent domain group.
公用屬性 AgentLogLevel Gets or sets the type of messages that are logged by SQL Server Agent.
公用屬性 AgentMailType Gets or sets the mail type for SQL Server Agent.
公用屬性 AgentShutdownWaitTime Gets or sets the time that SQL Server Agent waits for jobs to complete execution before shutting down.
公用屬性 AlertCategories Represents a collection of AlertCategory objects. Each AlertCategory object represents an alert category defined on SQL Server Agent.
公用屬性 Alerts Represents a collection of Alert objects. Each Alert object represents an alert defined on SQL Server Agent.
公用屬性 AlertSystem The AlertSystem object stores information that applies to all the alerts defined on SQL Server Agent.
公用屬性 DatabaseMailProfile Gets or sets a Database Mail profile.
公用屬性 ErrorLogFile Gets or sets the name and path of the file in which SQL Server Agent records errors.
受保護的屬性 ExecuteForScalar Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (繼承自 SqlSmoObject。)
公用屬性 HostLoginName Gets or sets the login used to log in to SQL Server.
公用屬性 IdleCpuDuration Gets or sets the length of time in seconds that the processor must have to maintain the CPU idle percentage value before the processor is considered idle.
公用屬性 IdleCpuPercentage Gets or sets the CPU idle percentage threshold that the processor is required to achieve before it is considered idle.
公用屬性 IsCpuPollingEnabled Gets or sets the Boolean property value that specifies whether CPU polling is enabled.
受保護的屬性 IsTouched Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (繼承自 SqlSmoObject。)
公用屬性 JobCategories Represents a collection of JobCategory objects. Each JobCategory object represents a job category defined on SQL Server Agent.
公用屬性 Jobs Represents a collection of Job objects. Each Job object represents a job defined on SQL Server Agent.
公用屬性 JobServerType Gets or sets the type of job server with regard to multiserver administration.
公用屬性 LocalHostAlias Gets or sets the local host alias that is used to connect to the local instance of SQL Server.
公用屬性 LoginTimeout Gets or sets the number of seconds after which an attempt to connect times out.
公用屬性 MaximumHistoryRows Gets or sets the maximum number of history rows retained.
公用屬性 MaximumJobHistoryRows Gets or sets the maximum number of history rows retained per job.
公用屬性 MsxAccountCredentialName Gets or sets the Windows account required to connect to the master server using Windows Authentication.
公用屬性 MsxAccountName Gets or sets the login required to connect to the master server using SQL Server Authentication.
公用屬性 MsxServerName Gets or sets the name of the master server participating in multiserver administration.
公用屬性 Name Gets the name of the SQL Server Agent service.
公用屬性 NetSendRecipient Gets or sets the recipient of net send messages.
受保護的屬性 ObjectInSpace Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (繼承自 SqlSmoObject。)
公用屬性 OperatorCategories Represents a collection of OperatorCategory objects. Each OperatorCategory object represents an operator category defined on SQL Server Agent.
公用屬性 Operators Represents a collection of Operator objects. Each Operator object represents an operator defined on SQL Server Agent.
公用屬性 Parent Gets the Server object that is the parent of the JobServer object.
公用屬性 Properties Gets a collection of Property objects that represent the object properties. (繼承自 SqlSmoObject。)
公用屬性 ProxyAccounts Represents a collection of ProxyAccount objects. Each ProxyAccount object represents a proxy account defined on SQL Server Agent.
公用屬性 ReplaceAlertTokensEnabled
公用屬性 SaveInSentFolder Gets or sets the Boolean property value that specifies whether the notifications are saved.
受保護的屬性 ScalarResult Gets the scalar result for the referenced object. (繼承自 SqlSmoObject。)
公用屬性 ServiceAccount Gets the account under which the SQL Server Agent service runs
公用屬性 ServiceStartMode Gets the mode used to start the SQL Server Agent service.
公用屬性 SharedSchedules Represents a collection of JobSchedule objects. Each JobSchedule object represents a shared schedule defined on SQL Server Agent.
公用屬性 SqlAgentAutoStart Gets or sets the Boolean property value that specifies whether SQL Server Agent is automatically started.
公用屬性 SqlAgentMailProfile Gets or sets a SQL Server Agent mail profile.
公用屬性 SqlAgentRestart Gets or sets the Boolean property value that specifies whether SQL Server Agent is monitored and restarted if it stops.
公用屬性 SqlServerRestart Gets or sets the Boolean property value that specifies whether the SQL Server Service is monitored and restarted if it stops.
公用屬性 State Gets the state of the referenced object. (繼承自 SmoObjectBase。)
公用屬性 SysAdminOnly Gets the Boolean property value that specifies whether CmdExec and ActiveX commands can only be executed by members of the sysadmin fixed server role.
公用屬性 TargetServerGroups Represents a collection of TargetServerGroup objects. Each TargetServerGroup object represents a target server group defined on SQL Server Agent.
公用屬性 TargetServers Represents a collection of TargetServer objects. Each TargetServer object represents a target server defined on SQL Server Agent.
公用屬性 Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (繼承自 SqlSmoObject。)
公用屬性 UserData Gets or sets user-defined data associated with the referenced object. (繼承自 SmoObjectBase。)
公用屬性 WriteOemErrorLog Gets or sets the Boolean property value that specifies whether to write the error log to a non-Unicode file or not.

頂端

事件

  名稱 描述
公用事件 PropertyChanged (繼承自 SqlSmoObject。)
公用事件 PropertyMetadataChanged (繼承自 SqlSmoObject。)

頂端

明確繼承實作  

  名稱 描述
明確介面實作私用方法 IAlienObjectDiscover (繼承自 SqlSmoObject。)
明確介面實作私用方法 IAlienObjectGetParent (繼承自 SqlSmoObject。)
明確介面實作私用方法 IAlienObjectGetProperty (繼承自 SqlSmoObject。)
明確介面實作私用方法 ISfcPropertyProviderGetPropertySet (繼承自 SqlSmoObject。)
明確介面實作私用方法 IAlienObjectGetUrn (繼承自 SqlSmoObject。)
明確介面實作私用方法 IAlienObjectResolve (繼承自 SqlSmoObject。)
明確介面實作私用方法 IAlienObjectSetProperty (繼承自 SqlSmoObject。)

頂端