ResourcePool Constructor (ResourceGovernor, String)
Creates an instance of the Resource Pool class.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
resourceGovernor As ResourceGovernor, _
name As String _
)
'Usage
Dim resourceGovernor As ResourceGovernor
Dim name As String
Dim instance As New ResourcePool(resourceGovernor, _
name)
public ResourcePool(
ResourceGovernor resourceGovernor,
string name
)
public:
ResourcePool(
ResourceGovernor^ resourceGovernor,
String^ name
)
new :
resourceGovernor:ResourceGovernor *
name:string -> ResourcePool
public function ResourcePool(
resourceGovernor : ResourceGovernor,
name : String
)
Parameters
- resourceGovernor
Type: Microsoft.SqlServer.Management.Smo.ResourceGovernor
ResourceGovernor object.
- name
Type: System.String
String naming a user defined Resource Pool.
See Also