共用方式為


WorkloadGroup.MoveToPool 方法

Moves the workload group to the specified resource pool.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub MoveToPool ( _
    poolName As String _
)
'用途
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
)

參數

  • poolName
    型別:System.String
    A String value that contains the name of the destination resource pool.

請參閱

參考

WorkloadGroup 類別

Microsoft.SqlServer.Management.Smo 命名空間