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)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Property)> _
Public NotInheritable Class SynonymsAttribute _
Inherits Attribute
'Usage
Dim instance As SynonymsAttribute
[AttributeUsageAttribute(AttributeTargets.Property)]
public sealed class SynonymsAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property)]
public ref class SynonymsAttribute sealed : public Attribute
public final class SynonymsAttribute extends Attribute
Remarks
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.
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.VisualStudio.Data.Framework.SynonymsAttribute
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.