Edit

Share via


SqlClientMetaDataCollectionNames Class

Definition

Caution

Use the Microsoft.Data.SqlClient package instead.

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

C#
public static class SqlClientMetaDataCollectionNames
C#
[System.Obsolete("Use the Microsoft.Data.SqlClient package instead.")]
public static class SqlClientMetaDataCollectionNames
Inheritance
SqlClientMetaDataCollectionNames
Attributes

Fields

Columns

A constant for use with the GetSchema method that represents the Columns collection.

Databases

A constant for use with the GetSchema method that represents the Databases collection.

ForeignKeys

A constant for use with the GetSchema method that represents the ForeignKeys collection.

IndexColumns

A constant for use with the GetSchema method that represents the IndexColumns collection.

Indexes

A constant for use with the GetSchema method that represents the Indexes collection.

Parameters

A constant for use with the GetSchema method that represents the Parameters collection.

ProcedureColumns

A constant for use with the GetSchema method that represents the ProcedureColumns collection.

Procedures

A constant for use with the GetSchema method that represents the Procedures collection.

Tables

A constant for use with the GetSchema method that represents the Tables collection.

UserDefinedTypes

A constant for use with the GetSchema method that represents the UserDefinedTypes collection.

Users

A constant for use with the GetSchema method that represents the Users collection.

ViewColumns

A constant for use with the GetSchema method that represents the ViewColumns collection.

Views

A constant for use with the GetSchema method that represents the Views collection.

Applies to

Product Versions (Obsolete)
.NET 6 (package-provided) (7 (package-provided), 8 (package-provided), 9 (package-provided))
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 (4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided))
.NET Standard (2.0 (package-provided))

See also