Udostępnij przez


DataType.Date Property

The Date property returns a Date data type.

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

Syntax

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

Property Value

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

Remarks

Returns date information that represents any valid Gregorian calendar date between 0001-01-01 and 9999-12-31.

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.