Поделиться через


Конструктор WorkloadGroup (ResourcePool, String)

Initializes a new instance of the WorkloadGroup class that has the specified name and resource pool.

Пространство имен:  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
)

Параметры