Compartir a través de


ExpirationDate Propiedad

Gets or sets the date and time at which the certificate expires.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property ExpirationDate As DateTime
    Get
    Set
'Uso
Dim instance As Certificate
Dim value As DateTime

value = instance.ExpirationDate

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

Valor de la propiedad

Tipo: System. . :: . .DateTime
A DateTime object value that specifies the expiration date of the certificate.