WorkloadGroup.MoveToPool Method
Moves the workload group to the specified resource pool.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub MoveToPool ( _
poolName As String _
)
'Usage
Dim instance As WorkloadGroup
Dim poolName As String
instance.MoveToPool(poolName)
public void MoveToPool(
string poolName
)
public:
void MoveToPool(
String^ poolName
)
member MoveToPool :
poolName:string -> unit
public function MoveToPool(
poolName : String
)
Parameters
- poolName
Type: System.String
A String value that contains the name of the destination resource pool.