WorkloadGroupCollection.Add Method
Adds a workload group to the collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
workloadGroup As WorkloadGroup _
)
'Usage
Dim instance As WorkloadGroupCollection
Dim workloadGroup As WorkloadGroup
instance.Add(workloadGroup)
public void Add(
WorkloadGroup workloadGroup
)
public:
void Add(
WorkloadGroup^ workloadGroup
)
member Add :
workloadGroup:WorkloadGroup -> unit
public function Add(
workloadGroup : WorkloadGroup
)
Parameters
- workloadGroup
Type: Microsoft.SqlServer.Management.Smo.WorkloadGroup
WorkloadGroup
See Also