次の方法で共有


AdHocRemoteQueriesEnabled プロパティ

AdHocRemoteQueriesEnabled プロパティ値を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<DisplayNameKeyAttribute("AdHocRemoteQueriesEnabledName")> _
<DisplayDescriptionKeyAttribute("AdHocRemoteQueriesEnabledDesc")> _
Property AdHocRemoteQueriesEnabled As Boolean
    Get
    Set
'使用
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)

プロパティ値

型: System. . :: . .Boolean
Boolean