Freigeben über


Add-Methode

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
)