Share via


AdoDotNetSourceInformation Members

Include Protected Members
Include Inherited Members

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

The AdoDotNetSourceInformation type exposes the following members.

Constructors

 

Name

Description

Public method

AdoDotNetSourceInformation

Overloaded. Initializes a new instance of the AdoDotNetDataSourceInformation class.

Top

Methods

 

Name

Description

Protected method

AddProperty

Overloaded. Adds a property to the list of supported properties.

Public method

Contains

Retrieves a Boolean value indicating whether a specified property is contained in this data source information instance. (Inherited from DataSourceInformation.)

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Overloaded. Retrieves the Type value indicating the type of a specified property, thus enabling appropriate conversion of a retrieved value to the correct type.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnSiteChanged

Raises the SiteChanged event. (Overrides DataSiteableObject<T>.OnSiteChanged(EventArgs).)

Protected method

RetrieveValue

Retrieves a value for a specified data source information property. (Overrides DataSourceInformation.RetrieveValue(String).)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Protected property

Connection

Gets the underlying DbConnection object instance used in the class.

Public property

Item

Gets a data source information property with the specified name. (Inherited from DataSourceInformation.)

Public property

Site

Gets or sets the object site. (Inherited from DataSiteableObject<T>.)

Protected property

SourceInformation

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

Top

Events

 

Name

Description

Public event

SiteChanged

Occurs when the Site property is changed. (Inherited from DataSiteableObject<T>.)

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IVsDataSourceInformation.Contains

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

Explicit interface implemetationPrivate property

IVsDataSourceInformation.Item

Gets a data source information property with the specified name.

Top

See Also

Reference

AdoDotNetSourceInformation Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace