Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides information about an ADO.NET data source in the form of properties passed as name/value pairs.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.ObjectWithSite
Microsoft.VisualStudio.Data.DataSourceInformation
Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetDataSourceInformation
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Class AdoDotNetDataSourceInformation _
Inherits DataSourceInformation
public class AdoDotNetDataSourceInformation : DataSourceInformation
public ref class AdoDotNetDataSourceInformation : public DataSourceInformation
type AdoDotNetDataSourceInformation =
class
inherit DataSourceInformation
end
public class AdoDotNetDataSourceInformation extends DataSourceInformation
The AdoDotNetDataSourceInformation type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
AdoDotNetDataSourceInformation(DataConnection) | Class constructor. Initializes an instance of the AdoDotNetDataSourceInformation class with a DataConnection object. |
![]() |
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. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
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 | Retrieves a data source information property with the specified name. (Overrides DataSourceInformation.Item[String].) |
![]() |
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.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
AddProperty(String) | Adds a property to the list of supported properties. (Inherited from DataSourceInformation.) |
![]() |
AddProperty(String, Object) | Adds a property and its value to the list of supported properties. (Inherited from DataSourceInformation.) |
![]() |
Contains | Retrieves a Boolean value indicating whether the specified property is contained in this data source information instance. (Overrides DataSourceInformation.Contains(String).) |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnSiteChanged | Raises the SiteChanged event. (Inherited from ObjectWithSite.) |
![]() |
RetrieveValue | Retrieves a value for a specified data source information property. (Overrides DataSourceInformation.RetrieveValue(String).) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
![]() |
SiteChanged | Event that is raised when the Site property is changed. (Inherited from ObjectWithSite.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
IObjectWithSite.GetSite | Retrieves the last site set using the IObjectWithSite.SetSite method. In cases where there is no known site, the object returns an exception. (Inherited from ObjectWithSite.) |
![]() ![]() |
IObjectWithSite.SetSite | Provides the site's pointer to the site object. (Inherited from ObjectWithSite.) |
Top
Remarks
Following is a list of supported data source information properties:
Property |
Description |
---|---|
Value of the DataSource property. |
|
Value of the DataSourceProductName column in the ADO.NET data source information data table. |
|
Value of the DataSourceProductVersion column in the ADO.NET data source information data table. |
|
Defaults to false. |
|
Text only. |
|
Text only. |
|
Text only. |
|
Text only. |
|
InOut and ReturnValue. |
|
Defaults to true. |
|
Value of Database, if non-null and not empty. |
|
Heuristic based on the SupportedJoinOperators column in the ADO.NET data source information; if any outer join is supported, returns true, otherwise returns false. |
|
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. |
|
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. |
|
Calls the GetSchema method with ReservedWords and creates a comma-delimited list of reserved words from each row in the result set. |
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.