WorkloadGroup WorkloadGroup WorkloadGroup Constructors

Definition

Overloads

WorkloadGroup() WorkloadGroup() WorkloadGroup()

Initializes a new, default instance of the WorkloadGroup class.

WorkloadGroup(ResourcePool, String) WorkloadGroup(ResourcePool, String)

Initializes a new instance of the WorkloadGroup class that has the specified name and resource pool.

WorkloadGroup() WorkloadGroup() WorkloadGroup()

Initializes a new, default instance of the WorkloadGroup class.

public:
 WorkloadGroup();
public WorkloadGroup ();
Public Sub New ()

WorkloadGroup(ResourcePool, String) WorkloadGroup(ResourcePool, String)

Initializes a new instance of the WorkloadGroup class that has the specified name and resource pool.

public:
 WorkloadGroup(Microsoft::SqlServer::Management::Smo::ResourcePool ^ resourcePool, System::String ^ name);
public WorkloadGroup (Microsoft.SqlServer.Management.Smo.ResourcePool resourcePool, string name);
Parameters
resourcePool
ResourcePool ResourcePool ResourcePool

A ResourcePool object that specifies the parent object of the workload group.

name
String String String

A String value that specifies the name of the workload group

Applies to