Costruttore JobStep (Job, String)
Initializes a new instance of the JobStep class for the specified job and with the specified name.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
job As Job, _
name As String _
)
'Utilizzo
Dim job As Job
Dim name As String
Dim instance As New JobStep(job, name)
public JobStep(
Job job,
string name
)
public:
JobStep(
Job^ job,
String^ name
)
new :
job:Job *
name:string -> JobStep
public function JobStep(
job : Job,
name : String
)
Parametri
- job
Tipo: Microsoft.SqlServer.Management.Smo.Agent.Job
A Job object value that specifies the job to which the job step belongs.
- name
Tipo: System.String
A String value that specifies the name of the job step.
Esempi
Pianificazione delle attività amministrative automatiche in SQL Server Agent
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent
Altre risorse
Automatizzazione delle attività amministrative (SQL Server Agent)