ResourcePool.Parent Property

Gets or sets the Resource Pool Parent object, in this case a ResourceGovernor.

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

Syntax

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

value = instance.Parent

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