This topic has not yet been rated - Rate this topic

SqlClientMetaDataCollectionNames Class

Provides a list of constants for use with the GetSchema method to retrieve metadata collections.

System.Object
  System.Data.SqlClient.SqlClientMetaDataCollectionNames

Namespace:  System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)
public static class SqlClientMetaDataCollectionNames

The SqlClientMetaDataCollectionNames type exposes the following members.

  Name Description
Public field Static member Columns A constant for use with the GetSchema method that represents the Columns collection.
Public field Static member Databases A constant for use with the GetSchema method that represents the Databases collection.
Public field Static member ForeignKeys A constant for use with the GetSchema method that represents the ForeignKeys collection.
Public field Static member IndexColumns A constant for use with the GetSchema method that represents the IndexColumns collection.
Public field Static member Indexes A constant for use with the GetSchema method that represents the Indexes collection.
Public field Static member Parameters A constant for use with the GetSchema method that represents the Parameters collection.
Public field Static member ProcedureColumns A constant for use with the GetSchema method that represents the ProcedureColumns collection.
Public field Static member Procedures A constant for use with the GetSchema method that represents the Procedures collection.
Public field Static member Tables A constant for use with the GetSchema method that represents the Tables collection.
Public field Static member UserDefinedTypes A constant for use with the GetSchema method that represents the UserDefinedTypes collection.
Public field Static member Users A constant for use with the GetSchema method that represents the Users collection.
Public field Static member ViewColumns A constant for use with the GetSchema method that represents the ViewColumns collection.
Public field Static member Views A constant for use with the GetSchema method that represents the Views collection.
Top

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ