Freigeben über


DataConnectionProperties.SetPropertySynonyms(String, String[]) Method

Definition

Sets or clears the synonyms for the specified property.

protected:
 void SetPropertySynonyms(System::String ^ baseName, cli::array <System::String ^> ^ synonyms);
protected void SetPropertySynonyms (string baseName, string[] synonyms);
member this.SetPropertySynonyms : string * string[] -> unit
Protected Sub SetPropertySynonyms (baseName As String, synonyms As String())

Parameters

baseName
String

The primary property name used as a key into the synonyms collection.

synonyms
String[]

Array containing the synonyms corresponding to the primary property name, or null to clear the synonyms for the given property.

Exceptions

The baseName parameter is null.

Applies to