ResourcePool 构造函数 (ResourceGovernor, String)
Creates an instance of the Resource Pool class.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub New ( _
resourceGovernor As ResourceGovernor, _
name As String _
)
用法
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
)
参数
- resourceGovernor
类型:Microsoft.SqlServer.Management.Smo. . :: . .ResourceGovernor
ResourceGovernor object.
- name
类型:System. . :: . .String
String naming a user defined Resource Pool.