AdoDotNetSourceInformation Class

Provides information about an ADO.NET data source in the form of properties passed as name/value pairs.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Class AdoDotNetSourceInformation _
    Inherits DataSourceInformation _
    Implements IVsDataSourceInformation
'Usage
Dim instance As AdoDotNetSourceInformation
public class AdoDotNetSourceInformation : DataSourceInformation, 
    IVsDataSourceInformation
public ref class AdoDotNetSourceInformation : public DataSourceInformation, 
    IVsDataSourceInformation
public class AdoDotNetSourceInformation extends DataSourceInformation implements IVsDataSourceInformation

Remarks

Following is a list of supported data source information properties:

Property

Description

DataSourceName

Value of the DataSource property.

DataSourceProduct

Value of the DataSourceProductName column in the ADO.NET data source information data table.

DataSourceVersion

Value of the DataSourceProductVersion column in the ADO.NET data source information data table.

SupportsNestedTransactions

Defaults to false.

CommandPrepareSupport

Text only.

CommandDeriveParametersSupport

Text only.

CommandDeriveSchemaSupport

Text only.

CommandExecuteSupport

Text only.

CommandParameterSupport

InOut and ReturnValue.

SupportsCommandTimeout

Defaults to true.

DefaultCatalog

Value of Database, if non-null and not empty.

SupportsAnsi92Sql

Heuristic based on the SupportedJoinOperators column in the ADO.NET data source information; if any outer join is supported, returns true, otherwise returns false.

IdentifierPartsCaseSensitive

true if the value of the IdentifierCase column in the ADO.NET data source information includes Sensitive; false if the value is Insensitive; nulla null reference (Nothing in Visual Basic) if neither.

QuotedIdentifierPartsCaseSensitive

true if the value of the QuotedIdentifierCase column in the ADO.NET data source information includes Sensitive; false if the value is Insensitive; nulla null reference (Nothing in Visual Basic) if neither.

ReservedWords

Calls the GetSchema method with ReservedWords and creates a comma-delimited list of reserved words from each row in the result set.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Framework.DataSiteableObject<IVsDataConnection>
    Microsoft.VisualStudio.Data.Framework.DataSourceInformation
      Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetSourceInformation

Thread Safety

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

See Also

Reference

AdoDotNetSourceInformation Members

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace