ScriptMoveToPool Method
Collapse the table of content
Expand the table of content

WorkloadGroup.ScriptMoveToPool Method (String)

 

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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public StringCollection ScriptMoveToPool(
	string poolName
)

Parameters

poolName
Type: System.String

A String value that contains the name of the destination resource pool.

Return Value

Type: System.Collections.Specialized.StringCollection

A StringCollection containing the script to move the workload group to the specified resource pool.

Return to top
Show:
© 2016 Microsoft