Sdílet prostřednictvím


IServerConfigurationFacet.AdHocRemoteQueriesEnabled Property

Gets or sets a Boolean value that specifies if ad hoc remote queries are enabled.

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

Syntax

'Declaration
Property AdHocRemoteQueriesEnabled As Boolean
    Get
    Set
'Usage
Dim instance As IServerConfigurationFacet
Dim value As Boolean

value = instance.AdHocRemoteQueriesEnabled

instance.AdHocRemoteQueriesEnabled = value
bool AdHocRemoteQueriesEnabled { get; set; }
property bool AdHocRemoteQueriesEnabled {
    bool get ();
    void set (bool value);
}
abstract AdHocRemoteQueriesEnabled : bool with get, set
function get AdHocRemoteQueriesEnabled () : boolean
function set AdHocRemoteQueriesEnabled (value : boolean)

Property Value

Type: System.Boolean
True if ad hoc remote queries are enabled. False if ad hoc remote queries are not enabled.