Sdílet prostřednictvím


Job.RemoveSharedSchedule Method (Int32)

Removes the specified shared schedule from the job.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub RemoveSharedSchedule ( _
    scheduleId As Integer _
)
'Usage
Dim instance As Job
Dim scheduleId As Integer

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

Parameters

Remarks

This method was introduced in SQL Server 2005.