dotConnect for Snowflake Documentation
Devart.Common Namespace / DbConnectionBase Class / GetSchema Method / GetSchema(String) Method
The name of the collection to get information about.

On this page
    GetSchema(String) Method
    On this page
    Returns information about the specified metadata collection.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function GetSchema( _
       ByVal collectionName As String _
    ) As DataTable
    public override DataTable GetSchema( 
       string collectionName
    )

    Parameters

    collectionName
    The name of the collection to get information about.

    Return Value

    Remarks

    For example, GetSchema("Tables") returns the list of tables. To get the list of available collections, call the GetSchema method without parameters or with the "MetaDataCollections" parameter. The names of the collections are also available as fields of the Devart.Data.Snowflake.SnowflakeMetaDataCollectionNames class.

    For more information, see Using GetSchema Method.

    See Also