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



Teradata.Client.Provider Namespace > TdQueryBand Class : Remove Method
The key of the Query Band that is to be removed.
Removes the Query Band with the specified key.
Syntax
'Declaration
 
Public Function Remove( _
   ByVal key As String _
) As Boolean
'Usage
 
Dim instance As TdQueryBand
Dim key As String
Dim value As Boolean
 
value = instance.Remove(key)
public bool Remove( 
   string key
)
public:
bool Remove( 
   String^ key
) 

Parameters

key
The key of the Query Band that is to be removed.
Exceptions
ExceptionDescription
A null reference has been passed as the key.
Remarks

A Query Band can also be removed by using the array representation as in the following example:

TdQueryBand qb = new TdQueryBand("SpecialName=name1"); qb["SpecialName"] = null;

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