Condividi tramite


Membri JobServer

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

Il tipo JobServer espone i membri seguenti.

Metodi

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

In alto

Campi

  Nome Descrizione
Campo protetto m_ExtendedProperties (Ereditato da SqlSmoObject).

In alto

Proprietà

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

In alto

Eventi

  Nome Descrizione
Evento pubblico PropertyChanged (Ereditato da SqlSmoObject).
Evento pubblico PropertyMetadataChanged (Ereditato da SqlSmoObject).

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectDiscover (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectGetParent (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectGetProperty (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato ISfcPropertyProviderGetPropertySet (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectGetUrn (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectResolve (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectSetProperty (Ereditato da SqlSmoObject).

In alto