Certificate.StartDate Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property StartDate As DateTime 
    Get 
    Set
'Usage
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)

Property Value

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

Examples

Using Encryption

See Also

Reference

Certificate Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE CERTIFICATE (Transact-SQL)