Send feedback on this topic.
Teradata.Client.Provider
TryGetValue Method (TdConnectionStringBuilder)



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : TryGetValue Method
Connection String keyword
null if it is an invalid key, otherwise the value or default-value corresponding to the specified keyword.
Gets the value of the specified connection string keyword.
Syntax
'Declaration
 
Public Overrides NotOverridable Function TryGetValue( _
   ByVal keyword As String, _
   ByRef value As Object _
) As Boolean
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim keyword As String
Dim value As Object
Dim value As Boolean
 
value = instance.TryGetValue(keyword, value)
public override bool TryGetValue( 
   string keyword,
   out object value
)
public:
bool TryGetValue( 
   String^ keyword,
   [Out] Object^ value
) override 

Parameters

keyword
Connection String keyword
value
null if it is an invalid key, otherwise the value or default-value corresponding to the specified keyword.

Return Value

true if keyword is a valid Connection string keyword, false otherwise.
Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members