次の方法で共有


AdoDotNetConnectionProperties Class

Provides an implementation of the IVsDataConnectionProperties class using the ADO.NET connection string builder base class (DbConnectionStringBuilder).

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

Syntax

'宣言
Public Class AdoDotNetConnectionProperties _
    Inherits DataSiteableObject(Of IVsDataProvider) _
    Implements IVsDataConnectionUIProperties, IVsDataConnectionProperties, IDictionary(Of String, Object),  _
    ICollection(Of KeyValuePair(Of String, Object)), IEnumerable(Of KeyValuePair(Of String, Object)),  _
    IEnumerable, ICustomTypeDescriptor, INotifyPropertyChanged
'使用
Dim instance As AdoDotNetConnectionProperties
public class AdoDotNetConnectionProperties : DataSiteableObject<IVsDataProvider>, IVsDataConnectionUIProperties, 
    IVsDataConnectionProperties, IDictionary<string, Object>, ICollection<KeyValuePair<string, Object>>, 
    IEnumerable<KeyValuePair<string, Object>>, IEnumerable, ICustomTypeDescriptor, 
    INotifyPropertyChanged
public ref class AdoDotNetConnectionProperties : public DataSiteableObject<IVsDataProvider^>, 
    IVsDataConnectionUIProperties, IVsDataConnectionProperties, IDictionary<String^, Object^>, 
    ICollection<KeyValuePair<String^, Object^>>, IEnumerable<KeyValuePair<String^, Object^>>, 
    IEnumerable, ICustomTypeDescriptor, INotifyPropertyChanged
public class AdoDotNetConnectionProperties extends DataSiteableObject<IVsDataProvider> implements IVsDataConnectionUIProperties, IVsDataConnectionProperties, IDictionary<String, Object>, ICollection<KeyValuePair<String, Object>>, IEnumerable<KeyValuePair<String, Object>>, IEnumerable, ICustomTypeDescriptor, INotifyPropertyChanged

Remarks

It is not expected that a DDEX provider based on ADO.NET will need to customize object enumeration. However, this class is a base class that you can extend in scenarios where added or modified enumeration functionality inside Visual Studio is required.

Most of the public methods on this class are overridden from the base class (IVsDataConnectionProperties) because this implementation does not rely on any of the base class for help with tasks like parsing and building; rather, they typically delegate to the equivalent call on the connection string builder object.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Framework.DataSiteableObject<IVsDataProvider>
    Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetConnectionProperties

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

AdoDotNetConnectionProperties Members

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace