Generates a Transact-SQL script that can be used to re-create the target server group.
备注
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
重载列表
| 名称 | Description | 
|---|---|
| TargetServerGroup.Script () | 
Generates a Transact-SQL script that can be used to re-create the target server group.
 | 
| TargetServerGroup.Script (ScriptingOptions) | 
Generates a Transact-SQL script that can be used to re-create the target server group as specified by the script options.
 | 
请参阅
参考
TargetServerGroup Class
TargetServerGroup Members
Microsoft.SqlServer.Management.Smo.Agent Namespace
其他资源
Scripting
Scheduling Automatic Administrative Tasks in SQL Server Agent
自动执行管理任务(SQL Server 代理)
sp_help_targetservergroup (Transact-SQL)