DataConnectionProperties.SetPropertySynonyms Method
Sets or clears the synonyms for the specified property.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Sub SetPropertySynonyms ( _
baseName As String, _
synonyms As String() _
)
protected void SetPropertySynonyms(
string baseName,
string[] synonyms
)
protected:
void SetPropertySynonyms(
String^ baseName,
array<String^>^ synonyms
)
member SetPropertySynonyms :
baseName:string *
synonyms:string[] -> unit
protected function SetPropertySynonyms(
baseName : String,
synonyms : String[]
)
Parameters
- baseName
Type: System.String
The primary property name used as a key into the synonyms collection.
- synonyms
Type: array<System.String[]
Array containing the synonyms corresponding to the primary property name, or nulla null reference (Nothing in Visual Basic) to clear the synonyms for the given property.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The baseName parameter is null. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.