Share via


DataSourceInformation Class

Allows you to retrieve well-defined information about a specified data source in the form of properties passed as name/value pairs.

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

Syntax

'Declaration
<GuidAttribute("EF852E1E-DD85-4400-A5BE-96A14F32B7E0")> _
Public Class DataSourceInformation _
    Inherits ObjectWithSite
'Usage
Dim instance As DataSourceInformation
[GuidAttribute("EF852E1E-DD85-4400-A5BE-96A14F32B7E0")]
public class DataSourceInformation : ObjectWithSite
[GuidAttribute(L"EF852E1E-DD85-4400-A5BE-96A14F32B7E0")]
public ref class DataSourceInformation : public ObjectWithSite
public class DataSourceInformation extends ObjectWithSite

Remarks

This class contains a set of constant strings that indicate the names of well known data source information properties. A data provider is welcome to add more properties to their implementation but these will not be used generically.

The base class implementation, by default, reads properties and property values from the registry that are specified in a DataSourceInformation key, under SupportedObjects, if any. This provides an easy way to specify static data source information property values.

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

DataSourceInformation Members

Microsoft.VisualStudio.Data Namespace