Specifies the time span for which certificates are valid.
Namespace: Microsoft.Clm.Shared.CertificateServer
Assembly: Microsoft.Clm.Shared (in microsoft.clm.shared.dll)

Usage

Visual Basic
Dim instance As EnrollmentAttributes
Dim value As TimeSpan

value = instance.ValidityPeriod

instance.ValidityPeriod = value

Syntax

Visual Basic
<XmlIgnoreAttribute> _
Public Property ValidityPeriod As TimeSpan
C#
[XmlIgnoreAttribute] 
public TimeSpan ValidityPeriod { get; set; }
C++
[XmlIgnoreAttribute] 
public:
property TimeSpan ValidityPeriod {
		TimeSpan get ();
		void set (TimeSpan value);
}
J#
/** @property */
public TimeSpan get_ValidityPeriod ()

/** @property */
public void set_ValidityPeriod (TimeSpan value)
JScript
public function get ValidityPeriod () : TimeSpan

public function set ValidityPeriod (value : TimeSpan)

Property Value

Returns TimeSpan.

Remarks

The value 0 indicates that the CA must apply its own validity period.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 2008 x64 Edition

Target Platforms

Windows XP SP3, Windows Vista SP1+, Windows 7, Windows Server 2008, Windows Server 2008 R2

See Also