ServerAdapterBase.AdHocRemoteQueriesEnabled Property

Gets or sets the value of the referenced property.

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

Syntax

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

value = instance.AdHocRemoteQueriesEnabled

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

Property Value

Type: System.Boolean
An Int32 value that contains the value of the referenced property option.