Send feedback on this topic.
Teradata.Client.Provider
ProfileName Property



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : ProfileName Property
Specifies the profile name to access the appropriate properties from the application configuration file.
Syntax
'Declaration
 
Public Property ProfileName As String
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim value As String
 
instance.ProfileName = value
 
value = instance.ProfileName
public string ProfileName {get; set;}
public:
property String^ ProfileName {
   String^ get();
   void set (    String^ value);
}
Remarks

The profile name is used to set the supported TdConnection.ConnectionString properties from the application configuration file during execution. The supported TdConnection.ConnectionString properties are found in the Configuration File Provider Section.

The profile name must exist in the application configuration file. If the profile name does not exist the following error message will be returned - "Invalid connection string attribute: supplied profile name is not a valid value for Profile Name.", preventing a successful opening of the connection.

Default Value: null

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members