共用方式為


IDatabaseOptions.HonorBrokerPriority 屬性

Gets or sets a value that indicates whether the priority specified by the broker is acknowledged.

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

語法

'宣告
<DisplayNameKeyAttribute("Database_HonorBrokerPriorityName")> _
<DisplayDescriptionKeyAttribute("Database_HonorBrokerPriorityDesc")> _
Property HonorBrokerPriority As Boolean 
    Get 
    Set
'用途
Dim instance As IDatabaseOptions 
Dim value As Boolean 

value = instance.HonorBrokerPriority

instance.HonorBrokerPriority = value
[DisplayNameKeyAttribute("Database_HonorBrokerPriorityName")]
[DisplayDescriptionKeyAttribute("Database_HonorBrokerPriorityDesc")]
bool HonorBrokerPriority { get; set; }
[DisplayNameKeyAttribute(L"Database_HonorBrokerPriorityName")]
[DisplayDescriptionKeyAttribute(L"Database_HonorBrokerPriorityDesc")]
property bool HonorBrokerPriority {
    bool get ();
    void set (bool value);
}
[<DisplayNameKeyAttribute("Database_HonorBrokerPriorityName")>]
[<DisplayDescriptionKeyAttribute("Database_HonorBrokerPriorityDesc")>]
abstract HonorBrokerPriority : bool with get, set
function get HonorBrokerPriority () : boolean 
function set HonorBrokerPriority (value : boolean)

屬性值

型別:System.Boolean
A Boolean value that indicates whether the priority specified by the broker is acknowledged.If True, the broker priority is acknowledged. Otherwise, False (default.)

請參閱

參考

IDatabaseOptions 介面

Microsoft.SqlServer.Management.Smo 命名空間