Export (0) Print
Expand All

SqlMetaData Members

Specifies and retrieves metadata information from parameters and columns of SqlDataRecord objects. This class cannot be inherited.

The SqlMetaData type exposes the following members.

  NameDescription
Public method SqlMetaData Overloaded. Initializes a new instance of the SqlMetaData class.
Top

  NameDescription
Public method Adjust Overloaded. Validates the specified value against the metadata, and adjusts the value if necessary.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Static member InferFromValue Infers the metadata from the specified object and returns it as a SqlMetaData instance.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property CompareOptions Gets the comparison rules used for the column or parameter.
Public property DbType Gets the data type of the column or parameter.
Public property IsUniqueKey Indicates if the column in the table-valued parameter is unique.
Public property LocaleId Gets the locale ID of the column or parameter.
Public property Static member Max Gets the length of text, ntext, and image data types.
Public property MaxLength Gets the maximum length of the column or parameter.
Public property Name Gets the name of the column or parameter.
Public property Precision Gets the precision of the column or parameter.
Public property Scale Gets the scale of the column or parameter.
Public property SortOrder Returns the sort order for a column.
Public property SortOrdinal Returns the ordinal of the sort column.
Public property SqlDbType Gets the data type of the column or parameter.
Public property Type Gets the common language runtime (CLR) type of a user-defined type (UDT).
Public property TypeName Gets the three-part name of the user-defined type (UDT) or the SQL Server type represented by the instance.
Public property UseServerDefault Reports whether this column should use the default server value.
Public property XmlSchemaCollectionDatabase Gets the name of the database where the schema collection for this XML instance is located.
Public property XmlSchemaCollectionName Gets the name of the schema collection for this XML instance.
Public property XmlSchemaCollectionOwningSchema Gets the owning relational schema where the schema collection for this XML instance is located.
Top

Community Additions

ADD
Show:
© 2014 Microsoft