Configuration.AdHocDistributedQueriesEnabled プロパティ

ad hoc distributed queries 構成オプションを設定するための ConfigProperty オブジェクトを取得します。

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

構文

'宣言
Public ReadOnly Property AdHocDistributedQueriesEnabled As ConfigProperty 
    Get
'使用
Dim instance As Configuration 
Dim value As ConfigProperty 

value = instance.AdHocDistributedQueriesEnabled
public ConfigProperty AdHocDistributedQueriesEnabled { get; }
public:
property ConfigProperty^ AdHocDistributedQueriesEnabled {
    ConfigProperty^ get ();
}
member AdHocDistributedQueriesEnabled : ConfigProperty
function get AdHocDistributedQueriesEnabled () : ConfigProperty

プロパティ値

型: Microsoft.SqlServer.Management.Smo.ConfigProperty
ad hoc distributed queries 構成オプションの設定を示す ConfigProperty オブジェクトです。

説明

ad hoc distributed queries 構成オプションを設定する AdHocDistributedQueriesEnabled プロパティです。 このプロパティは、OLE DB プロバイダーの OPENROWSET 関数と OPENDATASOURCE 関数を介したアドホック アクセスを可能にするために使用されます。

使用例

SMO での SQL Server の構成

関連項目

参照

Configuration クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

サーバー構成オプション

sp_configure (Transact-SQL)