Condividi tramite


Membri JobStep

The JobStep class represents a Microsoft SQL Server job step.

Il tipo JobStep espone i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico JobStep() () () () Initializes a new instance of the JobStep class.
Metodo pubblico JobStep(Job, String) Initializes a new instance of the JobStep class for the specified job and with the specified name.

In alto

Metodi

  Nome Descrizione
Metodo protetto AddDatabaseContext (Ereditato da SqlSmoObject).
Metodo pubblico Alter Updates any JobStep object property changes on instance of Microsoft 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 Create Creates a job step on the instance of Microsoft SQL Server as defined by the JobStep object.
Metodo protetto CreateImpl (Ereditato da SqlSmoObject).
Metodo protetto CreateImplFinish (Ereditato da SqlSmoObject).
Metodo protetto CreateImplInit (Ereditato da SqlSmoObject).
Metodo pubblico DeleteLogs(DateTime) Deletes job step log files that are older than the specified date.
Metodo pubblico DeleteLogs(Int32)
Metodo pubblico Discover (Ereditato da SqlSmoObject).
Metodo pubblico Drop Removes the referenced job step.
Metodo protetto DropImpl (Ereditato da SqlSmoObject).
Metodo protetto DropImplWorker (Ereditato da SqlSmoObject).
Metodo pubblico EnumLogs Returns an enumerated list of the job step log files.
Metodo protetto EnumScriptImpl (Ereditato da SqlSmoObject).
Metodo protetto EnumScriptImplWorker (Ereditato da SqlSmoObject).
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 AgentObjectBase).
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 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 protetto PostAlter (Ereditato da SqlSmoObject).
Metodo protetto PostCreate (Ereditato da SqlSmoObject).
Metodo protetto PostDrop (Ereditato da SqlSmoObject).
Metodo pubblico Refresh Refreshes the object and retrieves properties when the object is next accessed. (Ereditato da SqlSmoObject).
Metodo pubblico Rename Renames the job step.
Metodo protetto RenameImpl This method supports the SMO infrastructure and is not intended to be used directly from your code. (Ereditato da NamedSmoObject).
Metodo protetto RenameImplWorker This method supports the SMO infrastructure and is not intended to be used directly from your code. (Ereditato da NamedSmoObject).
Metodo pubblico Script() () () () Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server Agent job step.
Metodo pubblico 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.
Metodo protetto ScriptAlter (Ereditato da SqlSmoObject).
Metodo protetto ScriptChangeOwner This method supports the SMO infrastructure and is not intended to be used directly from your code. (Ereditato da NamedSmoObject).
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 protetto ScriptRename This method supports the SMO infrastructure and is not intended to be used directly from your code. (Ereditato da NamedSmoObject).
Metodo protetto SetParentImpl (Ereditato da SqlSmoObject).
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 Command Gets or sets the command execution string for the job step.
Proprietà pubblica CommandExecutionSuccessCode Gets or sets the process exit code from a command shell process executed as a job step.
Proprietà pubblica DatabaseName Gets or sets the name of the database to which the job step command execution is confined.
Proprietà pubblica DatabaseUserName Gets or sets the database user account that the job step assumes when executing the command string.
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 ID Gets or sets the ID value that uniquely identifies the job step.
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 JobStepFlags The JobStepFlags property is reserved for future use.
Proprietà pubblica LastRunDate Gets the date and time when the job step was last executed.
Proprietà pubblica LastRunDuration Gets the time, in seconds, the referenced job step took to run when it was last executed.
Proprietà pubblica LastRunOutcome Gets the outcome of the job step when it was last executed.
Proprietà pubblica LastRunRetries Gets the number of retries that were attempted when the job step was last executed.
Proprietà pubblica Name Gets or sets the name of the object. (Ereditato da NamedSmoObject).
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 OnFailAction Gets or sets the action to take when the job step finishes execution with failure.
Proprietà pubblica OnFailStep Gets or sets the job step that is executed after the referenced job step finishes execution with a completion status of failure.
Proprietà pubblica OnSuccessAction Gets or sets the action to take when the job step finishes execution with success.
Proprietà pubblica OnSuccessStep Gets or sets the job step that is executed after the referenced job step finishes execution with a completion status of success.
Proprietà pubblica OSRunPriority Gets or sets the execution thread scheduling for job steps executing operating system tasks.
Proprietà pubblica OutputFileName Gets or sets the name and path of the operating system file that records job step result message text.
Proprietà pubblica Parent Gets or sets the Job object that is the parent of the JobStep object.
Proprietà pubblica Properties Gets a collection of Property objects that represent the object properties. (Ereditato da SqlSmoObject).
Proprietà pubblica ProxyName Gets or sets the name of the Microsoft SQL Server Agent proxy account that is required by the job step.
Proprietà pubblica RetryAttempts Gets or sets the maximum number of times a job step is retried before it is returned with a completion status of failure.
Proprietà pubblica 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.
Proprietà protetta ScalarResult Gets the scalar result for the referenced object. (Ereditato da SqlSmoObject).
Proprietà pubblica Server Gets or sets the name of the server on which the job step runs.
Proprietà pubblica State Gets the state of the referenced object. (Ereditato da SmoObjectBase).
Proprietà pubblica SubSystem Gets or sets the Microsoft SQL Server Agent execution subsystem used to interpret job step command text.
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).

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