JobSchedule 建構函式 (SqlSmoObject, String)
Initializes a new instance of the JobSchedule class for the specified parent object and that has the specified name.
命名空間: Microsoft.SqlServer.Management.Smo.Agent
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub New ( _
parent As SqlSmoObject, _
name As String _
)
'用途
Dim parent As SqlSmoObject
Dim name As String
Dim instance As New JobSchedule(parent, _
name)
public JobSchedule(
SqlSmoObject parent,
string name
)
public:
JobSchedule(
SqlSmoObject^ parent,
String^ name
)
new :
parent:SqlSmoObject *
name:string -> JobSchedule
public function JobSchedule(
parent : SqlSmoObject,
name : String
)
參數
- parent
型別:Microsoft.SqlServer.Management.Smo.SqlSmoObject
An SqlSmoObject object value that specifies the parent of the JobSchedule object.
- name
型別:System.String
A String value that specifies the name of the job schedule.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo.Agent 命名空間