共用方式為


ServerDdlTrigger.CreateDate 屬性

Gets the date and time when the server data definition language (DDL) trigger was created.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property CreateDate As DateTime 
    Get
'用途
Dim instance As ServerDdlTrigger 
Dim value As DateTime 

value = instance.CreateDate
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DateTime CreateDate { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DateTime CreateDate {
    DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member CreateDate : DateTime
function get CreateDate () : DateTime

屬性值

型別:System.DateTime
A DateTime system object value that specifies the date and time when the server DDL trigger was created.

範例

建立、改變和移除觸發程式

請參閱

參考

ServerDdlTrigger 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

DDL 觸發程序

CREATE TRIGGER (Transact-SQL)