Свойство Certificate.ExpirationDate
Gets or sets the date and time at which the certificate expires.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property ExpirationDate As DateTime
Get
Set
'Применение
Dim instance As Certificate
Dim value As DateTime
value = instance.ExpirationDate
instance.ExpirationDate = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public DateTime ExpirationDate { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property DateTime ExpirationDate {
DateTime get ();
void set (DateTime value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
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.
Примеры
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo