Send feedback on this topic.
Teradata.Client.Provider
Add Method (TdQueryBand)



Teradata.Client.Provider Namespace > TdQueryBand Class : Add Method
The name of the Query Band.
The value of the Query Band.
Adds a key=value pair as a Query Band.
Syntax
'Declaration
 
Public Sub Add( _
   ByVal key As String, _
   ByVal value As Object _
) 
'Usage
 
Dim instance As TdQueryBand
Dim key As String
Dim value As Object
 
instance.Add(key, value)
public void Add( 
   string key,
   object value
)
public:
void Add( 
   String^ key,
   Object^ value
) 

Parameters

key
The name of the Query Band.
value
The value of the Query Band.
Exceptions
ExceptionDescription
A null has been passed in as the key.
A Query Band that contains the same key already exists or the key is String.Empty.
Remarks

When this method is called to add a Query Band, the following task is performed based upon the scenario:

Requirements

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

See Also

Reference

TdQueryBand Class
TdQueryBand Members