OleDbProviderSettings.LevelZeroOnly Property

Gets or sets the Boolean property value that specifies whether all OLE DB providers are supported or just those that are compliant with the level 0 OLE DB interface.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Property LevelZeroOnly As Boolean
public bool LevelZeroOnly { get; set; }
public:
property bool LevelZeroOnly {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_LevelZeroOnly ()

/** @property */
public void set_LevelZeroOnly (boolean value)
public function get LevelZeroOnly () : boolean

public function set LevelZeroOnly (value : boolean)

Property Value

A Boolean value that specifies whether all OLE DB providers are supported or just those that are compliant with the level 0 OLE DB interface. If True, only level 0 OLE DB providers are allowed. If False (default), all levels of OLE DB provider are allowed.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Link to an OLE-DB Provider Server in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

OleDbProviderSettings Class
OleDbProviderSettings Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Linked Servers in SMO