Share via


TargetServerGroup Constructor

Initializes a new instance of the TargetServerGroup class.

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

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New TargetServerGroup()
public TargetServerGroup()
public:
TargetServerGroup()
new : unit -> TargetServerGroup
public function TargetServerGroup()

Remarks

The default constructor initializes any fields to their default values.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

TargetServerGroup Class

TargetServerGroup Overload

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_add_targetservergroup (Transact-SQL)