Share via


ISurfaceAreaFacet.AdHocRemoteQueriesEnabled-Eigenschaft

Gets or sets the AdHocRemoteQueriesEnabled property value.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("AdHocRemoteQueriesEnabledDesc")> _
<DisplayNameKeyAttribute("AdHocRemoteQueriesEnabledName")> _
Property AdHocRemoteQueriesEnabled As Boolean 
    Get 
    Set
'Usage
Dim instance As ISurfaceAreaFacet 
Dim value As Boolean 

value = instance.AdHocRemoteQueriesEnabled

instance.AdHocRemoteQueriesEnabled = value
[DisplayDescriptionKeyAttribute("AdHocRemoteQueriesEnabledDesc")]
[DisplayNameKeyAttribute("AdHocRemoteQueriesEnabledName")]
bool AdHocRemoteQueriesEnabled { get; set; }
[DisplayDescriptionKeyAttribute(L"AdHocRemoteQueriesEnabledDesc")]
[DisplayNameKeyAttribute(L"AdHocRemoteQueriesEnabledName")]
property bool AdHocRemoteQueriesEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayDescriptionKeyAttribute("AdHocRemoteQueriesEnabledDesc")>]
[<DisplayNameKeyAttribute("AdHocRemoteQueriesEnabledName")>]
abstract AdHocRemoteQueriesEnabled : bool with get, set
function get AdHocRemoteQueriesEnabled () : boolean 
function set AdHocRemoteQueriesEnabled (value : boolean)

Eigenschaftswert

Typ: System.Boolean
The AdHocRemoteQueriesEnabled property value.

Siehe auch

Verweis

ISurfaceAreaFacet Schnittstelle

Microsoft.SqlServer.Management.Smo-Namespace