共用方式為


Server.ResourceGovernor 屬性

Gets the resource governor of the server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.One)> _
Public ReadOnly Property ResourceGovernor As ResourceGovernor 
    Get
'用途
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

屬性值

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

請參閱

參考

Server 類別

Microsoft.SqlServer.Management.Smo 命名空間