共用方式為


Certificate.ActiveForServiceBrokerDialog 屬性

Gets or sets the Boolean property that specifies whether the certificate is active for use in the BEGIN DIALOG statement for Service Broker purposes.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ActiveForServiceBrokerDialog As Boolean 
    Get 
    Set
'用途
Dim instance As Certificate 
Dim value As Boolean 

value = instance.ActiveForServiceBrokerDialog

instance.ActiveForServiceBrokerDialog = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool ActiveForServiceBrokerDialog { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool ActiveForServiceBrokerDialog {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ActiveForServiceBrokerDialog : bool with get, set
function get ActiveForServiceBrokerDialog () : boolean 
function set ActiveForServiceBrokerDialog (value : boolean)

屬性值

型別:System.Boolean
A Boolean object value that specifies whether the certificate is active for use in the BEGIN DIALOG statement for Service Broker purposes.If True, the certificate is active for use in Service Broker dialogs. Otherwise, False.

範例

使用加密

請參閱

參考

Certificate 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

加密階層

CREATE CERTIFICATE (Transact-SQL)