Share via


AppPrincipalCredentialReference.NotAfter property

Gets or sets the instant in time when this key expires.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Property NotAfter As DateTime
    Get
    Set
'Usage
Dim instance As AppPrincipalCredentialReference
Dim value As DateTime

value = instance.NotAfter

instance.NotAfter = value
public DateTime NotAfter { get; set; }

Property value

Type: System.DateTime
The instant in time when the key expires.

See also

Reference

AppPrincipalCredentialReference class

AppPrincipalCredentialReference members

Microsoft.SharePoint.Client namespace