Send feedback on this topic.
Teradata.Client.Provider
ShouldSerialize Method



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : ShouldSerialize Method
Valid connection string keyword.
Indicates whether the specified key exists in this TdConnectionStringBuilder instance.
Syntax
'Declaration
 
Public Overrides NotOverridable Function ShouldSerialize( _
   ByVal keyword As String _
) As Boolean
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim keyword As String
Dim value As Boolean
 
value = instance.ShouldSerialize(keyword)
public override bool ShouldSerialize( 
   string keyword
)
public:
bool ShouldSerialize( 
   String^ keyword
) override 

Parameters

keyword
Valid connection string keyword.

Return Value

true if the TdConnectionStringBuilder contains an entry with the specified key; otherwise false.
Exceptions
ExceptionDescription
keyword is null.
keyword is not a valid connection string keyword.
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