Bagikan melalui


Server.ResourceGovernor Property

Gets the resource governor of the server.

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.ResourceGovernor
The resource governor of the server.

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace