JobStep Miembros
The JobStep class represents a Microsoft SQL Server job step.
El tipo JobStep expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
![]() |
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. |
Principio
Métodos
Nombre | Descripción | |
---|---|---|
![]() |
AddDatabaseContext | (Se hereda de SqlSmoObject). |
![]() |
Alter | Updates any JobStep object property changes on instance of Microsoft SQL Server. |
![]() |
AlterImpl | (Se hereda de SqlSmoObject). |
![]() |
AlterImplFinish | (Se hereda de SqlSmoObject). |
![]() |
AlterImplInit | (Se hereda de SqlSmoObject). |
![]() |
AlterImplWorker | (Se hereda de SqlSmoObject). |
![]() |
BindDefaultImpl | (Se hereda de SqlSmoObject). |
![]() |
BindRuleImpl | (Se hereda de SqlSmoObject). |
![]() |
CheckCollation | (Se hereda de SqlSmoObject). |
![]() |
CheckObjectState() () () () | Validates the state of the referenced object. (Se hereda 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. (Se hereda de SqlSmoObject). |
![]() |
CheckObjectStateImpl | (Se hereda de SqlSmoObject). |
![]() |
CheckVersion100 | (Se hereda de SqlSmoObject). |
![]() |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (Se hereda de SqlSmoObject). |
![]() |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (Se hereda de SqlSmoObject). |
![]() |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (Se hereda de SqlSmoObject). |
![]() |
CheckVersionBelow90 | (Se hereda de SqlSmoObject). |
![]() |
CleanObject | (Se hereda de SqlSmoObject). |
![]() |
Create | Creates a job step on the instance of Microsoft SQL Server as defined by the JobStep object. |
![]() |
CreateImpl | (Se hereda de SqlSmoObject). |
![]() |
CreateImplFinish | (Se hereda de SqlSmoObject). |
![]() |
CreateImplInit | (Se hereda de SqlSmoObject). |
![]() |
DeleteLogs(DateTime) | Deletes job step log files that are older than the specified date. |
![]() |
DeleteLogs(Int32) | |
![]() |
Discover | (Se hereda de SqlSmoObject). |
![]() |
Drop | Removes the referenced job step. |
![]() |
DropImpl | (Se hereda de SqlSmoObject). |
![]() |
DropImplWorker | (Se hereda de SqlSmoObject). |
![]() |
EnumLogs | Returns an enumerated list of the job step log files. |
![]() |
EnumScriptImpl | (Se hereda de SqlSmoObject). |
![]() |
EnumScriptImplWorker | (Se hereda de SqlSmoObject). |
![]() |
Equals | (Se hereda de Object). |
![]() |
Finalize | (Se hereda de Object). |
![]() |
FormatSqlVariant | (Se hereda de SqlSmoObject). |
![]() |
GenerateDataSpaceFileStreamScript | (Se hereda de SqlSmoObject). |
![]() |
GenerateDataSpaceScript | (Se hereda de SqlSmoObject). |
![]() |
GetBindDefaultScript | (Se hereda de SqlSmoObject). |
![]() |
GetBindRuleScript | (Se hereda de SqlSmoObject). |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Se hereda de SqlSmoObject). |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Se hereda de SqlSmoObject). |
![]() |
GetDateTimeParameter | (Se hereda de SqlSmoObject). |
![]() |
GetDateTimeParameterAsInt | (Se hereda de SqlSmoObject). |
![]() |
GetDBName | Gets the database name that is associated with the object. (Se hereda de AgentObjectBase). |
![]() |
GetEnumParameter | (Se hereda de SqlSmoObject). |
![]() |
GetFragOptionString | (Se hereda de SqlSmoObject). |
![]() |
GetGuidParameter | (Se hereda de SqlSmoObject). |
![]() |
GetHashCode | (Se hereda de Object). |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Se hereda de SqlSmoObject). |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Se hereda de SqlSmoObject). |
![]() |
GetPropValue | (Se hereda de SqlSmoObject). |
![]() |
GetPropValueOptional | (Se hereda de SqlSmoObject). |
![]() |
GetPropValueOptionalAllowNull | (Se hereda de SqlSmoObject). |
![]() |
GetRealValue | (Se hereda de SqlSmoObject). |
![]() |
GetScriptingOptionsForCreate | (Se hereda de SqlSmoObject). |
![]() |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (Se hereda de SqlSmoObject). |
![]() |
GetServerObject | (Se hereda de SqlSmoObject). |
![]() |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (Se hereda de SqlSmoObject). |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Se hereda de SqlSmoObject). |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Se hereda de SqlSmoObject). |
![]() |
GetTimeSpanParameterAsInt | (Se hereda de SqlSmoObject). |
![]() |
GetType | (Se hereda de Object). |
![]() |
GetUrnRecursive(StringBuilder) | (Se hereda de SqlSmoObject). |
![]() |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Se hereda de SqlSmoObject). |
![]() |
ImplInitialize | (Se hereda de SqlSmoObject). |
![]() |
Initialize() () () () | Initializes the object and forces the properties be loaded. (Se hereda de SqlSmoObject). |
![]() |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Se hereda 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. (Se hereda de SqlSmoObject). |
![]() |
IsObjectInitialized | Verifies whether the object has been initialized. (Se hereda de SqlSmoObject). |
![]() |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (Se hereda de SqlSmoObject). |
![]() |
IsVersion80SP3 | (Se hereda de SqlSmoObject). |
![]() |
MarkDropped | (Se hereda de SqlSmoObject). |
![]() |
MarkForDropImpl | (Se hereda de SqlSmoObject). |
![]() |
MemberwiseClone | (Se hereda de Object). |
![]() |
PostAlter | (Se hereda de SqlSmoObject). |
![]() |
PostCreate | (Se hereda de SqlSmoObject). |
![]() |
PostDrop | (Se hereda de SqlSmoObject). |
![]() |
Refresh | Refreshes the object and retrieves properties when the object is next accessed. (Se hereda 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. (Se hereda de NamedSmoObject). |
![]() |
RenameImplWorker | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Se hereda 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 | (Se hereda de SqlSmoObject). |
![]() |
ScriptChangeOwner | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Se hereda de NamedSmoObject). |
![]() |
ScriptCreate | (Se hereda de SqlSmoObject). |
![]() |
ScriptDdl | (Se hereda de SqlSmoObject). |
![]() |
ScriptDrop | (Se hereda de SqlSmoObject). |
![]() |
ScriptImpl() () () () | (Se hereda de SqlSmoObject). |
![]() |
ScriptImpl(ScriptingOptions) | (Se hereda de SqlSmoObject). |
![]() |
ScriptImplWorker | (Se hereda de SqlSmoObject). |
![]() |
ScriptRename | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Se hereda de NamedSmoObject). |
![]() |
SetParentImpl | (Se hereda de SqlSmoObject). |
![]() |
ToString | Returns a String that represents the referenced object. (Se hereda de SqlSmoObject). |
![]() |
TouchImpl | (Se hereda de SqlSmoObject). |
![]() |
UnbindDefaultImpl | (Se hereda de SqlSmoObject). |
![]() |
UnbindRuleImpl | (Se hereda de SqlSmoObject). |
![]() |
Validate | (Se hereda de SmoObjectBase). |
Principio
Propiedades
Nombre | Descripción | |
---|---|---|
![]() |
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. (Se hereda 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. (Se hereda 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. (Se hereda 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. (Se hereda 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. (Se hereda 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. (Se hereda 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. (Se hereda 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. (Se hereda de SqlSmoObject). |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (Se hereda de SmoObjectBase). |
Principio
Eventos
Nombre | Descripción | |
---|---|---|
![]() |
PropertyChanged | (Se hereda de SqlSmoObject). |
![]() |
PropertyMetadataChanged | (Se hereda de SqlSmoObject). |
Principio
Implementaciones de interfaces explícitas
Nombre | Descripción | |
---|---|---|
![]() ![]() |
IAlienObjectDiscover | (Se hereda de SqlSmoObject). |
![]() ![]() |
IAlienObjectGetParent | (Se hereda de SqlSmoObject). |
![]() ![]() |
IAlienObjectGetProperty | (Se hereda de SqlSmoObject). |
![]() ![]() |
ISfcPropertyProviderGetPropertySet | (Se hereda de SqlSmoObject). |
![]() ![]() |
IAlienObjectGetUrn | (Se hereda de SqlSmoObject). |
![]() ![]() |
IAlienObjectResolve | (Se hereda de SqlSmoObject). |
![]() ![]() |
IAlienObjectSetProperty | (Se hereda de SqlSmoObject). |
Principio