MSDN Library

SynonymsAttribute Class

 

Provides a comma-delimited list of connection property names that are synonymous with a primary connection property name.

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

System.Object
  System.Attribute
    Microsoft.VisualStudio.Data.Framework.SynonymsAttribute

[AttributeUsageAttribute(AttributeTargets.Property)]
public sealed class SynonymsAttribute : Attribute

NameDescription
System_CAPS_pubmethodSynonymsAttribute(String)

Initializes a new instance of the SynonymsAttribute class.

NameDescription
System_CAPS_pubpropertySynonyms

Gets a comma-delimited list of connection property names that are synonymous with the connection property to which this attribute is attached.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

A provider should apply this attribute to a connection property when there are multiple property names that can refer to the same property value. It is used by the base DataConnectionProperties class to implement the InitializeSynonyms method, and allows you to change the property name to use when graphically creating connection properties.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft