다음을 통해 공유


ExpirationDate 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property ExpirationDate As DateTime
    Get
    Set
‘사용 방법
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)

속성 값

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