Udostępnij przez


DataType.SmallDateTime Property

Gets a data type that specifies the SmallDateTime definition used in the data type.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Shared ReadOnly Property SmallDateTime As DataType
public static DataType SmallDateTime { get; }
public:
static property DataType^ SmallDateTime {
    DataType^ get ();
}
/** @property */
public static DataType get_SmallDateTime ()
public static function get SmallDateTime () : DataType

Property Value

A DataType object value that specifies a SmallDateTime definition in the data type.

Remarks

This property represents dates from 1900-01-01 through 2079-06-06. The date and time can be entered as in the example, "2008-05-20 12:35:29".

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.