TypeInfo Class

Represents data type information within a database.

Inheritance Hierarchy

System.Object
Microsoft.Web.Management.DatabaseManager.TypeInfo

Namespace: Microsoft.Web.Management.DatabaseManager
Assembly: Microsoft.Web.Management.DatabaseManager (in Microsoft.Web.Management.DatabaseManager.dll)

Syntax

'Declaration
Public Class TypeInfo
'Usage
Dim instance As TypeInfo
public class TypeInfo
public ref class TypeInfo
public class TypeInfo

The TypeInfo type exposes the following members.

Constructors

Method Type Name Description
Public method TypeInfo Creates a new instance of the TypeInfo class.

Properties

Property Type Name Description
Public property AllowIdentity Gets or sets a value that indicates whether the data type supports an identity.
Public property AllowLength Gets or sets a value that indicates whether the data type supports length.
Public property AllowNulls Gets or sets a value that indicates whether the data type supports nulla null reference (Nothing in Visual Basic) values.
Public property DefaultLength Gets or sets the default length for the data type.
Public property DefaultPrecision Gets or sets the default precision for the data type.
Public property DefaultScale Gets or sets a value that specifies the default scale for the data type.
Public property Editable Gets or sets a value that indicates whether the data type can be edited.
Public property HasPrecision Gets or sets a value that indicates whether the data type supports precision.
Public property IsBinary Gets or sets a value that indicates whether the data type is a binary data type.
Public property IsVariableLength Gets or sets a value that indicates whether the data type supports variable length.
Public property MaximumLength Gets or sets the maximum length for the data type.
Public property MaximumPrecision Gets or sets the maximum precision for the data type.
Public property MinimumLength Gets or sets the minimum length for the data type.
Public property Name Gets or sets the name for the data type.
Public property Tag Returns a generic object that is stored in the TypeInfo class.

Methods

Method Type Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns the name of the data type. (Overrides Object.ToString().)

Remarks

The data type information contains details about data type specifics. For example, data type information would include the default value for a data type or whether a data type allows nulla null reference (Nothing in Visual Basic) values.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Web.Management.DatabaseManager Namespace