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
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

TdQueryBand Class
TdQueryBand Members