Udostępnij za pośrednictwem


JobSchedule.Script Method

Generates a Transact-SQL script that can be used to re-create the SQL Server Agent job schedule.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
JobSchedule.Script ()
Generates a Transact-SQL script that can be used to re-create the SQL Server Agent job schedule.
JobSchedule.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the SQL Server Agent job schedule as specified by the scripting options.

See Also

Reference

JobSchedule Class
JobSchedule Members
Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Scripting
Scheduling Automatic Administrative Tasks in SQL Server Agent
Automating Administrative Tasks (SQL Server Agent)
sp_help_schedule (Transact-SQL)