Partager via


Add méthode

Adds a workload group to the collection.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub Add ( _
    workloadGroup As WorkloadGroup _
)
'Utilisation
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
)