dotConnect for Zoho CRM Documentation
Devart.Common Namespace / DbConnectionBase Class / GetSchema Method / GetSchema(String) Method
Name of the collection to get information about.

In This Topic
    GetSchema(String) Method
    In This Topic
    Provides information about server schema objects.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function GetSchema( _
       ByVal collectionName As String _
    ) As DataTable
    public override DataTable GetSchema( 
       string collectionName
    )

    Parameters

    collectionName
    Name of the collection to get information about.

    Return Value

    Remarks

    GetSchema with 1 argument returns general information about the collection queried. For example, GetSchema("Users") returns list of the users on the server. To get the list of collections, call the GetSchema method without parameters, or with single parameter "MetaDataCollections" (which is actually the same). The table object returned by the method will contain three columns. The first field of every row is a keyword allowed to pass to the method (as collectionName argument). The second field is number of restriction values for this keywords (passed through restrictionValues argument).

    Refer to "Retrieving Metadata" article for detailed information.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also