Delen via


Server.ResourceGovernor Property

Gets the ResourceGovernor property value.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.One)> _
Public ReadOnly Property ResourceGovernor As ResourceGovernor
    Get
'Usage
Dim instance As Server
Dim value As ResourceGovernor

value = instance.ResourceGovernor
[SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.One)]
public ResourceGovernor ResourceGovernor { get; }
[SfcObjectAttribute(SfcObjectRelationship::Object, SfcObjectCardinality::One)]
public:
property ResourceGovernor^ ResourceGovernor {
    ResourceGovernor^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.One)>]
member ResourceGovernor : ResourceGovernor
function get ResourceGovernor () : ResourceGovernor