Dela via


WorkloadGroup.Parent Property

Gets or sets the ResourcePool object that is the parent of the WorkloadGroup.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As ResourcePool
    Get
    Set
'Usage
Dim instance As WorkloadGroup
Dim value As ResourcePool

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public ResourcePool Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property ResourcePool^ Parent {
    ResourcePool^ get ();
    void set (ResourcePool^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : ResourcePool with get, set
function get Parent () : ResourcePool
function set Parent (value : ResourcePool)

Property Value

Type: Microsoft.SqlServer.Management.Smo.ResourcePool
A ResourcePool object that is the parent of the WorkloadGroup.