Dela via


IViewOptions.CreateDate Property

Gets the date and time when the view was created.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("View_CreateDateName")> _
<DisplayDescriptionKeyAttribute("View_CreateDateDesc")> _
ReadOnly Property CreateDate As DateTime
    Get
'Usage
Dim instance As IViewOptions
Dim value As DateTime

value = instance.CreateDate
[DisplayNameKeyAttribute("View_CreateDateName")]
[DisplayDescriptionKeyAttribute("View_CreateDateDesc")]
DateTime CreateDate { get; }
[DisplayNameKeyAttribute(L"View_CreateDateName")]
[DisplayDescriptionKeyAttribute(L"View_CreateDateDesc")]
property DateTime CreateDate {
    DateTime get ();
}
[<DisplayNameKeyAttribute("View_CreateDateName")>]
[<DisplayDescriptionKeyAttribute("View_CreateDateDesc")>]
abstract CreateDate : DateTime
function get CreateDate () : DateTime

Property Value

Type: System.DateTime
A DateTime value that specifies the date and time when the view was created.