Certificate.StartDate 属性

Gets or sets the date and time from which the certificate is effective.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property StartDate As DateTime 
    Get 
    Set
用法
Dim instance As Certificate 
Dim value As DateTime 

value = instance.StartDate

instance.StartDate = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public DateTime StartDate { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property DateTime StartDate {
    DateTime get ();
    void set (DateTime value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member StartDate : DateTime with get, set
function get StartDate () : DateTime 
function set StartDate (value : DateTime)

属性值

类型:System.DateTime
A DateTime object value that specifies the date and time from which the certificate is effective.

示例

使用加密

请参阅

参考

Certificate 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

加密层次结构

CREATE CERTIFICATE (Transact-SQL)