JobStep-Member
The JobStep class represents a Microsoft SQL Server job step.
Der JobStep-Typ macht die folgenden Member verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
![]() |
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. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
![]() |
AddDatabaseContext | (Geerbt von SqlSmoObject.) |
![]() |
Alter | Updates any JobStep object property changes on instance of Microsoft SQL Server. |
![]() |
AlterImpl | (Geerbt von SqlSmoObject.) |
![]() |
AlterImplFinish | (Geerbt von SqlSmoObject.) |
![]() |
AlterImplInit | (Geerbt von SqlSmoObject.) |
![]() |
AlterImplWorker | (Geerbt von SqlSmoObject.) |
![]() |
BindDefaultImpl | (Geerbt von SqlSmoObject.) |
![]() |
BindRuleImpl | (Geerbt von SqlSmoObject.) |
![]() |
CheckCollation | (Geerbt von SqlSmoObject.) |
![]() |
CheckObjectState() () () () | Validates the state of the referenced object. (Geerbt von 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. (Geerbt von SqlSmoObject.) |
![]() |
CheckObjectStateImpl | (Geerbt von SqlSmoObject.) |
![]() |
CheckVersion100 | (Geerbt von SqlSmoObject.) |
![]() |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (Geerbt von SqlSmoObject.) |
![]() |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (Geerbt von SqlSmoObject.) |
![]() |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (Geerbt von SqlSmoObject.) |
![]() |
CheckVersionBelow90 | (Geerbt von SqlSmoObject.) |
![]() |
CleanObject | (Geerbt von SqlSmoObject.) |
![]() |
Create | Creates a job step on the instance of Microsoft SQL Server as defined by the JobStep object. |
![]() |
CreateImpl | (Geerbt von SqlSmoObject.) |
![]() |
CreateImplFinish | (Geerbt von SqlSmoObject.) |
![]() |
CreateImplInit | (Geerbt von SqlSmoObject.) |
![]() |
DeleteLogs(DateTime) | Deletes job step log files that are older than the specified date. |
![]() |
DeleteLogs(Int32) | |
![]() |
Discover | (Geerbt von SqlSmoObject.) |
![]() |
Drop | Removes the referenced job step. |
![]() |
DropImpl | (Geerbt von SqlSmoObject.) |
![]() |
DropImplWorker | (Geerbt von SqlSmoObject.) |
![]() |
EnumLogs | Returns an enumerated list of the job step log files. |
![]() |
EnumScriptImpl | (Geerbt von SqlSmoObject.) |
![]() |
EnumScriptImplWorker | (Geerbt von SqlSmoObject.) |
![]() |
Equals | (Geerbt von Object.) |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
FormatSqlVariant | (Geerbt von SqlSmoObject.) |
![]() |
GenerateDataSpaceFileStreamScript | (Geerbt von SqlSmoObject.) |
![]() |
GenerateDataSpaceScript | (Geerbt von SqlSmoObject.) |
![]() |
GetBindDefaultScript | (Geerbt von SqlSmoObject.) |
![]() |
GetBindRuleScript | (Geerbt von SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) |
![]() |
GetDateTimeParameter | (Geerbt von SqlSmoObject.) |
![]() |
GetDateTimeParameterAsInt | (Geerbt von SqlSmoObject.) |
![]() |
GetDBName | Gets the database name that is associated with the object. (Geerbt von AgentObjectBase.) |
![]() |
GetEnumParameter | (Geerbt von SqlSmoObject.) |
![]() |
GetFragOptionString | (Geerbt von SqlSmoObject.) |
![]() |
GetGuidParameter | (Geerbt von SqlSmoObject.) |
![]() |
GetHashCode | (Geerbt von Object.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) |
![]() |
GetPropValue | (Geerbt von SqlSmoObject.) |
![]() |
GetPropValueOptional | (Geerbt von SqlSmoObject.) |
![]() |
GetPropValueOptionalAllowNull | (Geerbt von SqlSmoObject.) |
![]() |
GetRealValue | (Geerbt von SqlSmoObject.) |
![]() |
GetScriptingOptionsForCreate | (Geerbt von SqlSmoObject.) |
![]() |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.) |
![]() |
GetServerObject | (Geerbt von SqlSmoObject.) |
![]() |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) |
![]() |
GetTimeSpanParameterAsInt | (Geerbt von SqlSmoObject.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
GetUrnRecursive(StringBuilder) | (Geerbt von SqlSmoObject.) |
![]() |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Geerbt von SqlSmoObject.) |
![]() |
ImplInitialize | (Geerbt von SqlSmoObject.) |
![]() |
Initialize() () () () | Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.) |
![]() |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.) |
![]() |
IsObjectDirty | Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server. (Geerbt von SqlSmoObject.) |
![]() |
IsObjectInitialized | Verifies whether the object has been initialized. (Geerbt von SqlSmoObject.) |
![]() |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (Geerbt von SqlSmoObject.) |
![]() |
IsVersion80SP3 | (Geerbt von SqlSmoObject.) |
![]() |
MarkDropped | (Geerbt von SqlSmoObject.) |
![]() |
MarkForDropImpl | (Geerbt von SqlSmoObject.) |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
PostAlter | (Geerbt von SqlSmoObject.) |
![]() |
PostCreate | (Geerbt von SqlSmoObject.) |
![]() |
PostDrop | (Geerbt von SqlSmoObject.) |
![]() |
Refresh | Refreshes the object and retrieves properties when the object is next accessed. (Geerbt von SqlSmoObject.) |
![]() |
Rename | Renames the job step. |
![]() |
RenameImpl | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) |
![]() |
RenameImplWorker | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von 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 | (Geerbt von SqlSmoObject.) |
![]() |
ScriptChangeOwner | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) |
![]() |
ScriptCreate | (Geerbt von SqlSmoObject.) |
![]() |
ScriptDdl | (Geerbt von SqlSmoObject.) |
![]() |
ScriptDrop | (Geerbt von SqlSmoObject.) |
![]() |
ScriptImpl() () () () | (Geerbt von SqlSmoObject.) |
![]() |
ScriptImpl(ScriptingOptions) | (Geerbt von SqlSmoObject.) |
![]() |
ScriptImplWorker | (Geerbt von SqlSmoObject.) |
![]() |
ScriptRename | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) |
![]() |
SetParentImpl | (Geerbt von SqlSmoObject.) |
![]() |
ToString | Returns a String that represents the referenced object. (Geerbt von SqlSmoObject.) |
![]() |
TouchImpl | (Geerbt von SqlSmoObject.) |
![]() |
UnbindDefaultImpl | (Geerbt von SqlSmoObject.) |
![]() |
UnbindRuleImpl | (Geerbt von SqlSmoObject.) |
![]() |
Validate | (Geerbt von SmoObjectBase.) |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
![]() |
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. (Geerbt von 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. (Geerbt von 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. (Geerbt von 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. (Geerbt von 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. (Geerbt von 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. (Geerbt von SqlSmoObject.) |
![]() |
Server | Gets or sets the name of the server on which the job step runs. |
![]() |
State | Gets the state of the referenced object. (Geerbt von 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. (Geerbt von SqlSmoObject.) |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (Geerbt von SmoObjectBase.) |
Zum Anfang
Ereignisse
Name | Beschreibung | |
---|---|---|
![]() |
PropertyChanged | (Geerbt von SqlSmoObject.) |
![]() |
PropertyMetadataChanged | (Geerbt von SqlSmoObject.) |
Zum Anfang
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
![]() ![]() |
IAlienObjectDiscover | (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetParent | (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetProperty | (Geerbt von SqlSmoObject.) |
![]() ![]() |
ISfcPropertyProviderGetPropertySet | (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetUrn | (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObjectResolve | (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObjectSetProperty | (Geerbt von SqlSmoObject.) |
Zum Anfang