共用方式為


AddSharedSchedule 方法

Adds a shared schedule to the Microsoft SQL Server Agent job.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub AddSharedSchedule ( _
    scheduleId As Integer _
)
'用途
Dim instance As Job
Dim scheduleId As Integer

instance.AddSharedSchedule(scheduleId)
public void AddSharedSchedule(
    int scheduleId
)
public:
void AddSharedSchedule(
    int scheduleId
)
member AddSharedSchedule : 
        scheduleId:int -> unit 
public function AddSharedSchedule(
    scheduleId : int
)

參數

備註

This method was introduced in SQL Server 2005.