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

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

See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members