ISurfaceAreaFacet.AdHocRemoteQueriesEnabled Property
Gets or sets the AdHocRemoteQueriesEnabled property value.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayNameKeyAttribute("AdHocRemoteQueriesEnabledName")> _
<DisplayDescriptionKeyAttribute("AdHocRemoteQueriesEnabledDesc")> _
Property AdHocRemoteQueriesEnabled As Boolean
Get
Set
'Usage
Dim instance As ISurfaceAreaFacet
Dim value As Boolean
value = instance.AdHocRemoteQueriesEnabled
instance.AdHocRemoteQueriesEnabled = value
[DisplayNameKeyAttribute("AdHocRemoteQueriesEnabledName")]
[DisplayDescriptionKeyAttribute("AdHocRemoteQueriesEnabledDesc")]
bool AdHocRemoteQueriesEnabled { get; set; }
[DisplayNameKeyAttribute(L"AdHocRemoteQueriesEnabledName")]
[DisplayDescriptionKeyAttribute(L"AdHocRemoteQueriesEnabledDesc")]
property bool AdHocRemoteQueriesEnabled {
bool get ();
void set (bool value);
}
[<DisplayNameKeyAttribute("AdHocRemoteQueriesEnabledName")>]
[<DisplayDescriptionKeyAttribute("AdHocRemoteQueriesEnabledDesc")>]
abstract AdHocRemoteQueriesEnabled : bool with get, set
function get AdHocRemoteQueriesEnabled () : boolean
function set AdHocRemoteQueriesEnabled (value : boolean)
Property Value
Type: System.Boolean
Boolean