Job.AddSharedSchedule Method

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

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

public void AddSharedSchedule(
	int scheduleId
)

Parameters

scheduleId
Type: System.Int32

This method was introduced in SQL Server 2005.

Community Additions

ADD
Show: