SqlMetaData
Specifies and retrieves metadata information from parameters and columns of SqlDataRecord objects. This class cannot be inherited.
using System;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
namespace Microsoft.SqlServer.Server
{
public sealed class SqlMetaData
{
public SqlCompareOptions CompareOptions {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public DbType DbType {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public bool IsUniqueKey {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public long LocaleId {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public static long Max {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public long MaxLength {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public string Name {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public byte Precision {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public byte Scale {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public SortOrder SortOrder {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public int SortOrdinal {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public SqlDbType SqlDbType {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public Type Type {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public string TypeName {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public bool UseServerDefault {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public string XmlSchemaCollectionDatabase {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public string XmlSchemaCollectionName {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public string XmlSchemaCollectionOwningSchema {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public SqlMetaData(string name, SqlDbType dbType)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, bool useServerDefault, bool isUniqueKey, SortOrder columnSortOrder, int sortOrdinal)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, byte precision, byte scale)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, byte precision, byte scale, bool useServerDefault, bool isUniqueKey, SortOrder columnSortOrder, int sortOrdinal)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, long maxLength)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, long maxLength, bool useServerDefault, bool isUniqueKey, SortOrder columnSortOrder, int sortOrdinal)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, long maxLength, byte precision, byte scale, long locale, SqlCompareOptions compareOptions, Type userDefinedType)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, long maxLength, byte precision, byte scale, long localeId, SqlCompareOptions compareOptions, Type userDefinedType, bool useServerDefault, bool isUniqueKey, SortOrder columnSortOrder, int sortOrdinal)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, long maxLength, long locale, SqlCompareOptions compareOptions)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, long maxLength, long locale, SqlCompareOptions compareOptions, bool useServerDefault, bool isUniqueKey, SortOrder columnSortOrder, int sortOrdinal)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, string database, string owningSchema, string objectName)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, string database, string owningSchema, string objectName, bool useServerDefault, bool isUniqueKey, SortOrder columnSortOrder, int sortOrdinal)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, Type userDefinedType)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, Type userDefinedType, string serverTypeName)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMetaData(string name, SqlDbType dbType, Type userDefinedType, string serverTypeName, bool useServerDefault, bool isUniqueKey, SortOrder columnSortOrder, int sortOrdinal)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public bool Adjust(bool value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public byte Adjust(byte value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public byte[] Adjust(byte[] value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public char Adjust(char value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public char[] Adjust(char[] value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlBinary Adjust(SqlBinary value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlBoolean Adjust(SqlBoolean value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlByte Adjust(SqlByte value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlBytes Adjust(SqlBytes value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlChars Adjust(SqlChars value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlDateTime Adjust(SqlDateTime value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlDecimal Adjust(SqlDecimal value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlDouble Adjust(SqlDouble value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlGuid Adjust(SqlGuid value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlInt16 Adjust(SqlInt16 value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlInt32 Adjust(SqlInt32 value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlInt64 Adjust(SqlInt64 value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlMoney Adjust(SqlMoney value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlSingle Adjust(SqlSingle value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlString Adjust(SqlString value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlXml Adjust(SqlXml value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public DateTime Adjust(DateTime value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public DateTimeOffset Adjust(DateTimeOffset value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public decimal Adjust(decimal value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public double Adjust(double value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public Guid Adjust(Guid value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public short Adjust(short value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public int Adjust(int value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public long Adjust(long value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public object Adjust(object value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public float Adjust(float value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public string Adjust(string value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public TimeSpan Adjust(TimeSpan value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public static SqlMetaData InferFromValue(object value, string name)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
}