Share via


SPAppPrincipalCredentialReference.NotAfter property

Gets the instant in time when this key expires.

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

Syntax

'Declaration
Public ReadOnly Property NotAfter As DateTime
    Get
'Usage
Dim instance As SPAppPrincipalCredentialReference
Dim value As DateTime

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

Property value

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

See also

Reference

SPAppPrincipalCredentialReference class

SPAppPrincipalCredentialReference members

Microsoft.SharePoint namespace