共用方式為


AdHocRemoteQueriesEnabled 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Property AdHocRemoteQueriesEnabled As Boolean
    Get
    Set
'用途
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)

屬性值

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