共用方式為


AdoDotNetDataSourceInformation Class

Definition

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

public ref class AdoDotNetDataSourceInformation : Microsoft::VisualStudio::Data::DataSourceInformation
public class AdoDotNetDataSourceInformation : Microsoft.VisualStudio.Data.DataSourceInformation
type AdoDotNetDataSourceInformation = class
    inherit DataSourceInformation
Public Class AdoDotNetDataSourceInformation
Inherits DataSourceInformation
Inheritance
AdoDotNetDataSourceInformation

Constructors

AdoDotNetDataSourceInformation(DataConnection, ICollection)

Class constructor. Initializes an instance of the AdoDotNetDataSourceInformation class with a DataConnection object and a collection of connection properties.

AdoDotNetDataSourceInformation(DataConnection, IDictionary)

Class constructor. Initializes an instance of the AdoDotNetDataSourceInformation class with a DataConnection object and a connection properties IDictionary object.

AdoDotNetDataSourceInformation(DataConnection)

Class constructor. Initializes an instance of the AdoDotNetDataSourceInformation class with a DataConnection object.

Fields

CatalogInvalidCharacters

Specifies the data source information property that provides a string of characters that are invalid, that is, that may not appear in a generic catalog name.

(Inherited from DataSourceInformation)
CatalogInvalidStartCharacters

Specifies the data source information property that provides a string of characters whose use at the start of a generic catalog name is not valid.

(Inherited from DataSourceInformation)
CatalogIsSuffixed

Specifies the data source information property that indicates if a catalog name is suffixed on a multi-part object identifier, as opposed to being a prefix.

(Inherited from DataSourceInformation)
CatalogMaxLength

Specifies the data source information property that indicates the maximum length of a catalog name.

(Inherited from DataSourceInformation)
CatalogSeparator

Specifies the data source information property that indicates the character separating a catalog name from the other parts in an object identifier.

(Inherited from DataSourceInformation)
CatalogSupported

Specifies the data source information property that indicates if a catalog name is supported in a multi-part object identifier.

(Inherited from DataSourceInformation)
CatalogSupportedInDml

Specifies the data source information property that indicates if a catalog name is supported in object identifiers that appear in SQL DML clauses.

(Inherited from DataSourceInformation)
ColumnAliasInvalidCharacters

Specifies the data source information property that provides a string of characters whose appearance in a column alias is not valid.

(Inherited from DataSourceInformation)
ColumnAliasInvalidStartCharacters

Specifies the data source information property that provides a string of characters whose appearance at the start of a column alias is not valid.

(Inherited from DataSourceInformation)
ColumnAliasMaxLength

Specifies the data source information property that indicates the maximum length of a column alias.

(Inherited from DataSourceInformation)
ColumnAliasSupported

Specifies the data source information property that indicates if a column alias is supported in a multi-part object identifier.

(Inherited from DataSourceInformation)
ColumnInvalidCharacters

Specifies the data source information property that provides a string of characters whose appearance in a column name is not valid.

(Inherited from DataSourceInformation)
ColumnInvalidStartCharacters

Specifies the data source information property that provides a string of characters whose appearance at the start of a column name is not valid.

(Inherited from DataSourceInformation)
ColumnMaxLength

Specifies the data source information property that indicates the maximum length of a column name.

(Inherited from DataSourceInformation)
ColumnSupported

Specifies the data source information property that indicates if a column name is supported in a multi-part object identifier.

(Inherited from DataSourceInformation)
CommandDeriveParametersSupport

Specifies what types of commands are supported by the DeriveParameters(String, Int32, Int32) method.

(Inherited from DataSourceInformation)
CommandDeriveSchemaSupport

Specifies what types of commands are supported by the DeriveSchema(String, Int32, DataParameter[], Int32) method.

(Inherited from DataSourceInformation)
CommandExecuteSupport

Specifies what types of commands are supported by the Execute(String, Int32, DataParameter[], Int32) and ExecuteWithoutResults(String, Int32, DataParameter[], Int32) methods.

(Inherited from DataSourceInformation)
CommandParameterSupport

Specifies what parameter directions are supported.

(Inherited from DataSourceInformation)
CommandPrepareSupport

Specifies what types of commands are supported by the Prepare(String, Int32, Int32) method.

(Inherited from DataSourceInformation)
DataSourceCulture

Specifies the geographical culture of the data source.

(Inherited from DataSourceInformation)
DataSourceName

Specifies the name of the data source.

(Inherited from DataSourceInformation)
DataSourceProduct

Specifies the name of the product of the data source.

(Inherited from DataSourceInformation)
DataSourceVersion

Specifies the version of the data source.

(Inherited from DataSourceInformation)
DateLiteralPrefix

Specifies the data source information property that provides the character(s) that prefix a date/time literal.

(Inherited from DataSourceInformation)
DateLiteralSuffix

Specifies the data source information property that provides the character(s) that suffix a date/time literal.

(Inherited from DataSourceInformation)
DefaultCatalog

Specifies the data source information property that provides the name of the default catalog.

(Inherited from DataSourceInformation)
DefaultSchema

Specifies the data source information property that provides the name of the default schema.

(Inherited from DataSourceInformation)
IdentifierCloseQuote

Specifies the data source information property that provides the character used to close an identifier part that needs to be enclosed in quotation marks.

(Inherited from DataSourceInformation)
IdentifierOpenQuote

Specifies the data source information property that provides the character used to open an identifier part that needs to be quoted.

(Inherited from DataSourceInformation)
IdentifierPartsCaseSensitive

Specifies the data source information property that indicates if identifier parts are treated as case sensitive.

(Inherited from DataSourceInformation)
IdentifierPartsStorageCase

Specifies the data source information property that indicates what case identifier parts are stored in the data source.

(Inherited from DataSourceInformation)
IndexInvalidCharacters

Specifies the data source information property that provides a string of characters whose appearance as an index name is not valid.

(Inherited from DataSourceInformation)
IndexInvalidStartCharacters

Specifies the data source information property that provides a string of characters whose appearance at the start of an index name is not valid.

(Inherited from DataSourceInformation)
IndexMaxLength

Specifies the data source information property that indicates the maximum length of an index name.

(Inherited from DataSourceInformation)
IndexSupported

Specifies the data source information property that indicates if an index name is supported in a multi-part object identifier.

(Inherited from DataSourceInformation)
LikeClausePercent

Specifies the data source information property that indicates the wildcard character used to capture zero or more characters within values for a LIKE clause in a SQL DML statement.

(Inherited from DataSourceInformation)
LikeClausePercentEscape

Specifies the data source information property that indicates the character used to escape the LikeClausePercent character within values for a LIKE clause in a SQL DML statement.

(Inherited from DataSourceInformation)
LikeClauseUnderscore

Specifies the data source information property that indicates the wildcard character used to capture a single characters within values for a LIKE clause in a SQL DML statement.

(Inherited from DataSourceInformation)
LikeClauseUnderscoreEscape

Specifies the data source information property that indicates the character used to escape the LikeClauseUnderscore character within values for a LIKE clause in a SQL DML statement.

(Inherited from DataSourceInformation)
ParameterPrefix

Specifies the data source information property that provides the character used to prefix a parameter name.

(Inherited from DataSourceInformation)
ParameterPrefixInName

Specifies the data source information property that indicates if the parameter prefix should appear in the value set for the Name property.

(Inherited from DataSourceInformation)
ProcedureInvalidCharacters

Specifies the data source information property that provides a string of characters whose appearance in a procedure name is not valid.

(Inherited from DataSourceInformation)
ProcedureInvalidStartCharacters

Specifies the data source information property that provides a string of characters whose appearance at the start of a procedure name is not valid.

(Inherited from DataSourceInformation)
ProcedureMaxLength

Specifies the data source information property that indicates the maximum length of a procedure name.

(Inherited from DataSourceInformation)
ProcedureSupported

Specifies the data source information property that indicates if a procedure name is supported in a multi-part object identifier.

(Inherited from DataSourceInformation)
QuotedIdentifierPartsCaseSensitive

Specifies the data source information property that indicates if quoted identifier parts are treated as case sensitive.

(Inherited from DataSourceInformation)
QuotedIdentifierPartsStorageCase

Specifies the data source information property that indicates what case quoted identifier parts are stored in the data source.

(Inherited from DataSourceInformation)
ReservedWords

Specifies the data source information property that provides the set of reserved words on the data source.

(Inherited from DataSourceInformation)
SchemaInvalidCharacters

Specifies the data source information property that provides a string of characters whose appearance in a schema name is not valid.

(Inherited from DataSourceInformation)
SchemaInvalidStartCharacters

Specifies the data source information property that provides a string of characters whose appearance at the start of a schema name is not valid.

(Inherited from DataSourceInformation)
SchemaMaxLength

Specifies the data source information property that indicates the maximum length of a schema name.

(Inherited from DataSourceInformation)
SchemaSeparator

Specifies the data source information property that indicates the character separating a schema name from the other parts in an object identifier.

(Inherited from DataSourceInformation)
SchemaSupported

Specifies the data source information property that indicates if a schema name is supported in a multi-part object identifier.

(Inherited from DataSourceInformation)
SchemaSupportedInDml

Specifies the data source information property that indicates if a schema name is supported in object identifiers that appear in SQL DML clauses.

(Inherited from DataSourceInformation)
ServerSeparator

Specifies the data source information property that indicates the character separating a server name from the other parts in an object identifier.

(Inherited from DataSourceInformation)
SupportsAnsi92Sql

Specifies the data source information property that indicates if the data source supports the ANSI92 SQL standard.

(Inherited from DataSourceInformation)
SupportsCommandTimeout

Specifies the data source information property that indicates whether command timeouts are supported.

(Inherited from DataSourceInformation)
SupportsNestedTransactions

Specifies the data source information property that indicates whether transactions can be started, committed, or rolled back inside other transactions.

(Inherited from DataSourceInformation)
SupportsQuotedIdentifierParts

Specifies the data source information property that indicates whether quoted identifier parts are supported.

(Inherited from DataSourceInformation)
SupportsVerifySql

Specifies the data source information property that indicates if SQL verification is supported.

(Inherited from DataSourceInformation)
TableAliasInvalidCharacters

Specifies the data source information property that provides a string of characters whose appearance in a table alias is not valid.

(Inherited from DataSourceInformation)
TableAliasInvalidStartCharacters

Specifies the data source information property that provides a string of characters whose appearance at the start of a table alias is not valid.

(Inherited from DataSourceInformation)
TableAliasMaxLength

Specifies the data source information property that indicates the maximum length of a table alias.

(Inherited from DataSourceInformation)
TableAliasSupported

Specifies the data source information property that indicates if a table alias is supported in a multi-part object identifier.

(Inherited from DataSourceInformation)
TableInvalidCharacters

Specifies the data source information property that provides a string of characters whose appearance in a table name is not valid.

(Inherited from DataSourceInformation)
TableInvalidStartCharacters

Specifies the data source information property that provides a string of characters whose appearance at the start of a table name is not valid.

(Inherited from DataSourceInformation)
TableMaxLength

Specifies the data source information property that indicates the maximum length of a table name.

(Inherited from DataSourceInformation)
TableSupported

Specifies the data source information property that indicates if a table name is supported in a multi-part object identifier.

(Inherited from DataSourceInformation)
UserInvalidCharacters

Specifies the data source information property that provides a string of characters whose appearance in a user name is not valid.

(Inherited from DataSourceInformation)
UserInvalidStartCharacters

Specifies the data source information property that provides a string of characters whose appearance at the start of a user name is not valid.

(Inherited from DataSourceInformation)
UserMaxLength

Specifies the data source information property that indicates the maximum length of a user name.

(Inherited from DataSourceInformation)
UserSupported

Specifies the data source information property that indicates if a user name is supported in a multi-part object identifier.

(Inherited from DataSourceInformation)
ViewInvalidCharacters

Specifies the data source information property that provides a string of characters whose appearance in a view name is not valid.

(Inherited from DataSourceInformation)
ViewInvalidStartCharacters

Specifies the data source information property that provides a string of characters whose appearance at the start of a view name is not valid.

(Inherited from DataSourceInformation)
ViewMaxLength

Specifies the data source information property that indicates the maximum length of a view name.

(Inherited from DataSourceInformation)
ViewSupported

Specifies the data source information property that indicates if a view name is supported in a multi-part object identifier.

(Inherited from DataSourceInformation)

Properties

Connection

Retrieves the data connection used to retrieve data source properties.

(Inherited from DataSourceInformation)
ConnectionSupport

Retrieves the provider connection support object associated with the data connection.

(Inherited from DataSourceInformation)
DataSourceInformation

Retrieves in-memory data source information provided by an implementation of the DataTable class to represent a table of in-memory data.

Item[String]

Retrieves a data source information property with the specified name.

ProviderObject

Retrieves the underlying provider connection object as exposed by the connection support object.

(Inherited from DataSourceInformation)
Site

Retrieves or sets the object site.

(Inherited from ObjectWithSite)

Methods

AddProperty(String, Object)

Adds a property and its value to the list of supported properties.

(Inherited from DataSourceInformation)
AddProperty(String)

Adds a property to the list of supported properties.

(Inherited from DataSourceInformation)
Contains(String)

Retrieves a Boolean value indicating whether the specified property is contained in this data source information instance.

OnSiteChanged(EventArgs)

Raises the SiteChanged event.

(Inherited from ObjectWithSite)
RetrieveValue(String)

Retrieves a value for a specified data source information property.

Events

SiteChanged

Event that is raised when the Site property is changed.

(Inherited from ObjectWithSite)

Explicit Interface Implementations

IObjectWithSite.GetSite(Guid, IntPtr)

Retrieves the last site set using the IObjectWithSite.SetSite(Object) method. In cases where there is no known site, the object returns an exception.

(Inherited from ObjectWithSite)
IObjectWithSite.SetSite(Object)

Provides the site's pointer to the site object.

(Inherited from ObjectWithSite)

Applies to