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 following tables list the members exposed by the SqlMetaData type.

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

  Name Description
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 LocaleId Gets the locale ID of the column or parameter.
Public property Static 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 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 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

(see also Protected Methods )
  Name Description
Public method Adjust Overloaded. Validates the specified value against the metadata, and adjusts the value if necessary.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static InferFromValue Infers the metadata from the specified object and returns it as a SqlMetaData instance.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft