Partager via


Propriété AdHocRemoteQueriesEnabled

Gets or sets the AdHocRemoteQueriesEnabled property value.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayNameKeyAttribute("AdHocRemoteQueriesEnabledName")> _
<DisplayDescriptionKeyAttribute("AdHocRemoteQueriesEnabledDesc")> _
Property AdHocRemoteQueriesEnabled As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .Boolean
Boolean