Partager via


Propriété Certificate.StartDate

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

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

Valeur de propriété

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

Exemples

Utilisation du chiffrement

Voir aussi

Référence

Certificate Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Hiérarchie de chiffrement

CREATE CERTIFICATE (Transact-SQL)