Send feedback on this topic.
Teradata.Client.Provider
GetSchema(String) Method



Teradata.Client.Provider Namespace > TdConnection Class > GetSchema Method : GetSchema(String) Method
The name of the Schema Collection to return.
Returns the requested schema collection information.
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function GetSchema( _
   ByVal collectionName As String _
) As DataTable
'Usage
 
Dim instance As TdConnection
Dim collectionName As String
Dim value As DataTable
 
value = instance.GetSchema(collectionName)
public override DataTable GetSchema( 
   string collectionName
)
public:
DataTable^ GetSchema( 
   String^ collectionName
) override 

Parameters

collectionName
The name of the Schema Collection to return.

Return Value

A Data.DataTable that contains schema collection information.
Exceptions
ExceptionDescription
the Advanced SQL Engine returned an error or the .NET Data Provider for Teradata detected an error.
Remarks

This method will return MetaDataCollections schema collection when collectionName is null or Empty.

Common and Provider-Specific collections are documented in Schema Collections section of the Developers Guide.

Requirements

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

See Also

Reference

TdConnection Class
TdConnection Members
Overload List
DbConnection.GetSchema