Dela via


Certificate.ActiveForServiceBrokerDialog Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ActiveForServiceBrokerDialog As Boolean
    Get
    Set
'Usage
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)

Property Value

Type: 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.

Examples

Using Encryption