AdoDotNetDataSourceInformation Class

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

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

Syntax

Public Class AdoDotNetDataSourceInformation _
    Inherits DataSourceInformation

Dim instance As AdoDotNetDataSourceInformation
public class AdoDotNetDataSourceInformation : DataSourceInformation
public ref class AdoDotNetDataSourceInformation : public DataSourceInformation
public class AdoDotNetDataSourceInformation extends DataSourceInformation

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.ObjectWithSite
    Microsoft.VisualStudio.Data.DataSourceInformation
      Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetDataSourceInformation

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

AdoDotNetDataSourceInformation Members

Microsoft.VisualStudio.Data.AdoDotNet Namespace