Membros JobStep
The JobStep class represents a Microsoft SQL Server job step.
O tipo JobStep expõe os seguintes membros.
Construtores
Nome | Descrição | |
---|---|---|
JobStep() () () () | Initializes a new instance of the JobStep class. | |
JobStep(Job, String) | Initializes a new instance of the JobStep class for the specified job and with the specified name. |
Início
Métodos
Nome | Descrição | |
---|---|---|
AddDatabaseContext | (Herdado de SqlSmoObject.) | |
Alter | Updates any JobStep object property changes on instance of Microsoft SQL Server. | |
AlterImpl | (Herdado de SqlSmoObject.) | |
AlterImplFinish | (Herdado de SqlSmoObject.) | |
AlterImplInit | (Herdado de SqlSmoObject.) | |
AlterImplWorker | (Herdado de SqlSmoObject.) | |
BindDefaultImpl | (Herdado de SqlSmoObject.) | |
BindRuleImpl | (Herdado de SqlSmoObject.) | |
CheckCollation | (Herdado de SqlSmoObject.) | |
CheckObjectState() () () () | Validates the state of the referenced object. (Herdado de 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. (Herdado de SqlSmoObject.) | |
CheckObjectStateImpl | (Herdado de SqlSmoObject.) | |
CheckVersion100 | (Herdado de SqlSmoObject.) | |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (Herdado de SqlSmoObject.) | |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (Herdado de SqlSmoObject.) | |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (Herdado de SqlSmoObject.) | |
CheckVersionBelow90 | (Herdado de SqlSmoObject.) | |
CleanObject | (Herdado de SqlSmoObject.) | |
Create | Creates a job step on the instance of Microsoft SQL Server as defined by the JobStep object. | |
CreateImpl | (Herdado de SqlSmoObject.) | |
CreateImplFinish | (Herdado de SqlSmoObject.) | |
CreateImplInit | (Herdado de SqlSmoObject.) | |
DeleteLogs(DateTime) | Deletes job step log files that are older than the specified date. | |
DeleteLogs(Int32) | ||
Discover | (Herdado de SqlSmoObject.) | |
Drop | Removes the referenced job step. | |
DropImpl | (Herdado de SqlSmoObject.) | |
DropImplWorker | (Herdado de SqlSmoObject.) | |
EnumLogs | Returns an enumerated list of the job step log files. | |
EnumScriptImpl | (Herdado de SqlSmoObject.) | |
EnumScriptImplWorker | (Herdado de SqlSmoObject.) | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
FormatSqlVariant | (Herdado de SqlSmoObject.) | |
GenerateDataSpaceFileStreamScript | (Herdado de SqlSmoObject.) | |
GenerateDataSpaceScript | (Herdado de SqlSmoObject.) | |
GetBindDefaultScript | (Herdado de SqlSmoObject.) | |
GetBindRuleScript | (Herdado de SqlSmoObject.) | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Herdado de SqlSmoObject.) | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Herdado de SqlSmoObject.) | |
GetDateTimeParameter | (Herdado de SqlSmoObject.) | |
GetDateTimeParameterAsInt | (Herdado de SqlSmoObject.) | |
GetDBName | Gets the database name that is associated with the object. (Herdado de AgentObjectBase.) | |
GetEnumParameter | (Herdado de SqlSmoObject.) | |
GetFragOptionString | (Herdado de SqlSmoObject.) | |
GetGuidParameter | (Herdado de SqlSmoObject.) | |
GetHashCode | (Herdado de Object.) | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Herdado de SqlSmoObject.) | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Herdado de SqlSmoObject.) | |
GetPropValue | (Herdado de SqlSmoObject.) | |
GetPropValueOptional | (Herdado de SqlSmoObject.) | |
GetPropValueOptionalAllowNull | (Herdado de SqlSmoObject.) | |
GetRealValue | (Herdado de SqlSmoObject.) | |
GetScriptingOptionsForCreate | (Herdado de SqlSmoObject.) | |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (Herdado de SqlSmoObject.) | |
GetServerObject | (Herdado de SqlSmoObject.) | |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (Herdado de SqlSmoObject.) | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Herdado de SqlSmoObject.) | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Herdado de SqlSmoObject.) | |
GetTimeSpanParameterAsInt | (Herdado de SqlSmoObject.) | |
GetType | (Herdado de Object.) | |
GetUrnRecursive(StringBuilder) | (Herdado de SqlSmoObject.) | |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Herdado de SqlSmoObject.) | |
ImplInitialize | (Herdado de SqlSmoObject.) | |
Initialize() () () () | Initializes the object and forces the properties be loaded. (Herdado de SqlSmoObject.) | |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Herdado de SqlSmoObject.) | |
IsObjectDirty | Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server. (Herdado de SqlSmoObject.) | |
IsObjectInitialized | Verifies whether the object has been initialized. (Herdado de SqlSmoObject.) | |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (Herdado de SqlSmoObject.) | |
IsVersion80SP3 | (Herdado de SqlSmoObject.) | |
MarkDropped | (Herdado de SqlSmoObject.) | |
MarkForDropImpl | (Herdado de SqlSmoObject.) | |
MemberwiseClone | (Herdado de Object.) | |
PostAlter | (Herdado de SqlSmoObject.) | |
PostCreate | (Herdado de SqlSmoObject.) | |
PostDrop | (Herdado de SqlSmoObject.) | |
Refresh | Refreshes the object and retrieves properties when the object is next accessed. (Herdado de SqlSmoObject.) | |
Rename | Renames the job step. | |
RenameImpl | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Herdado de NamedSmoObject.) | |
RenameImplWorker | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Herdado de NamedSmoObject.) | |
Script() () () () | Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server Agent job step. | |
Script(ScriptingOptions) | Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server Agent job step as specified by the scripting options. | |
ScriptAlter | (Herdado de SqlSmoObject.) | |
ScriptChangeOwner | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Herdado de NamedSmoObject.) | |
ScriptCreate | (Herdado de SqlSmoObject.) | |
ScriptDdl | (Herdado de SqlSmoObject.) | |
ScriptDrop | (Herdado de SqlSmoObject.) | |
ScriptImpl() () () () | (Herdado de SqlSmoObject.) | |
ScriptImpl(ScriptingOptions) | (Herdado de SqlSmoObject.) | |
ScriptImplWorker | (Herdado de SqlSmoObject.) | |
ScriptRename | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Herdado de NamedSmoObject.) | |
SetParentImpl | (Herdado de SqlSmoObject.) | |
ToString | Returns a String that represents the referenced object. (Herdado de SqlSmoObject.) | |
TouchImpl | (Herdado de SqlSmoObject.) | |
UnbindDefaultImpl | (Herdado de SqlSmoObject.) | |
UnbindRuleImpl | (Herdado de SqlSmoObject.) | |
Validate | (Herdado de SmoObjectBase.) |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Command | Gets or sets the command execution string for the job step. | |
CommandExecutionSuccessCode | Gets or sets the process exit code from a command shell process executed as a job step. | |
DatabaseName | Gets or sets the name of the database to which the job step command execution is confined. | |
DatabaseUserName | Gets or sets the database user account that the job step assumes when executing the command string. | |
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Herdado de SqlSmoObject.) | |
ID | Gets or sets the ID value that uniquely identifies the job step. | |
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Herdado de SqlSmoObject.) | |
JobStepFlags | The JobStepFlags property is reserved for future use. | |
LastRunDate | Gets the date and time when the job step was last executed. | |
LastRunDuration | Gets the time, in seconds, the referenced job step took to run when it was last executed. | |
LastRunOutcome | Gets the outcome of the job step when it was last executed. | |
LastRunRetries | Gets the number of retries that were attempted when the job step was last executed. | |
Name | Gets or sets the name of the object. (Herdado de NamedSmoObject.) | |
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. (Herdado de SqlSmoObject.) | |
OnFailAction | Gets or sets the action to take when the job step finishes execution with failure. | |
OnFailStep | Gets or sets the job step that is executed after the referenced job step finishes execution with a completion status of failure. | |
OnSuccessAction | Gets or sets the action to take when the job step finishes execution with success. | |
OnSuccessStep | Gets or sets the job step that is executed after the referenced job step finishes execution with a completion status of success. | |
OSRunPriority | Gets or sets the execution thread scheduling for job steps executing operating system tasks. | |
OutputFileName | Gets or sets the name and path of the operating system file that records job step result message text. | |
Parent | Gets or sets the Job object that is the parent of the JobStep object. | |
Properties | Gets a collection of Property objects that represent the object properties. (Herdado de SqlSmoObject.) | |
ProxyName | Gets or sets the name of the Microsoft SQL Server Agent proxy account that is required by the job step. | |
RetryAttempts | Gets or sets the maximum number of times a job step is retried before it is returned with a completion status of failure. | |
RetryInterval | Gets or sets the number of minutes that Microsoft SQL Server Agent waits before trying to execute a job step that has previously failed. | |
ScalarResult | Gets the scalar result for the referenced object. (Herdado de SqlSmoObject.) | |
Server | Gets or sets the name of the server on which the job step runs. | |
State | Gets the state of the referenced object. (Herdado de SmoObjectBase.) | |
SubSystem | Gets or sets the Microsoft SQL Server Agent execution subsystem used to interpret job step command text. | |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Herdado de SqlSmoObject.) | |
UserData | Gets or sets user-defined data associated with the referenced object. (Herdado de SmoObjectBase.) |
Início
Eventos
Nome | Descrição | |
---|---|---|
PropertyChanged | (Herdado de SqlSmoObject.) | |
PropertyMetadataChanged | (Herdado de SqlSmoObject.) |
Início
Implementações de interface explícitas
Nome | Descrição | |
---|---|---|
IAlienObjectDiscover | (Herdado de SqlSmoObject.) | |
IAlienObjectGetParent | (Herdado de SqlSmoObject.) | |
IAlienObjectGetProperty | (Herdado de SqlSmoObject.) | |
ISfcPropertyProviderGetPropertySet | (Herdado de SqlSmoObject.) | |
IAlienObjectGetUrn | (Herdado de SqlSmoObject.) | |
IAlienObjectResolve | (Herdado de SqlSmoObject.) | |
IAlienObjectSetProperty | (Herdado de SqlSmoObject.) |
Início