Partager via


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

'Declaration
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

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data Namespace

ResolveSynonym