Condividi tramite


Proprietà OleDbProviderSettings.NestedQueries

Gets or sets the Boolean property value that specifies whether the OLE DB provider allows nested SELECT statements in the FROM clause.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property NestedQueries As Boolean 
    Get 
    Set
'Utilizzo
Dim instance As OleDbProviderSettings 
Dim value As Boolean 

value = instance.NestedQueries

instance.NestedQueries = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool NestedQueries { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool NestedQueries {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member NestedQueries : bool with get, set
function get NestedQueries () : boolean 
function set NestedQueries (value : boolean)

Valore proprietà

Tipo: System.Boolean
A Boolean value that specifies whether the OLE DB provider allows nested SELECT statements in the FROM clause.If True, nested SELECT statements in the FROM clause of a SELECT statement are allowed.If False (default), nested SELECT statements are not allowed.

Osservazioni

Setting this option allows SQL Server to delegate certain queries to the provider that require nesting SELECT statements in the FROM clause.

Esempi

Utilizzo di server collegati in SMO

Vedere anche

Riferimento

OleDbProviderSettings Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo