DataConnectionProperties.SetSynonyms Method
Sets a list of strings as synonyms of a specified base property name.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaración
Protected Sub SetSynonyms ( _
baseName As String, _
synonyms As String() _
)
protected void SetSynonyms(
string baseName,
string[] synonyms
)
protected:
void SetSynonyms(
String^ baseName,
array<String^>^ synonyms
)
member SetSynonyms :
baseName:string *
synonyms:string[] -> unit
protected function SetSynonyms(
baseName : String,
synonyms : String[]
)
Parameters
- baseName
Type: System.String
Name of the base property with which the specified synonyms are associated.
- synonyms
Type: array<System.String[]
An array of strings representing names that are synonymous with the base property name.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The baseName and/or synonyms 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.
See Also
Reference
DataConnectionProperties Class