Compartir a través de


WorkloadGroup.ScriptMoveToPool Método

Generates a script to move the workload group to the specified resource pool.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function ScriptMoveToPool ( _
    poolName As String _
) As StringCollection
'Uso
Dim instance As WorkloadGroup 
Dim poolName As String 
Dim returnValue As StringCollection 

returnValue = instance.ScriptMoveToPool(poolName)
public StringCollection ScriptMoveToPool(
    string poolName
)
public:
StringCollection^ ScriptMoveToPool(
    String^ poolName
)
member ScriptMoveToPool : 
        poolName:string -> StringCollection
public function ScriptMoveToPool(
    poolName : String
) : StringCollection

Parámetros

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

Valor devuelto

Tipo: System.Collections.Specialized.StringCollection
A StringCollection containing the script to move the workload group to the specified resource pool.

Vea también

Referencia

WorkloadGroup Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo