WorkloadGroup.ScriptMoveToPool 메서드
Generates a script to move the workload group to the specified resource pool.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Function ScriptMoveToPool ( _
poolName As String _
) As StringCollection
‘사용 방법
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
매개 변수
- poolName
유형: System.String
A String value that contains the name of the destination resource pool.
반환 값
유형: System.Collections.Specialized.StringCollection
A StringCollection containing the script to move the workload group to the specified resource pool.