WorkloadGroup 构造函数 (ResourcePool, String)

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub New ( _
    resourcePool As ResourcePool, _
    name As String _
)
用法
Dim resourcePool As ResourcePool
Dim name As String

Dim instance As New WorkloadGroup(resourcePool, _
    name)
public WorkloadGroup(
    ResourcePool resourcePool,
    string name
)
public:
WorkloadGroup(
    ResourcePool^ resourcePool, 
    String^ name
)
new : 
        resourcePool:ResourcePool * 
        name:string -> WorkloadGroup
public function WorkloadGroup(
    resourcePool : ResourcePool, 
    name : String
)