次の方法で共有


SPSessionSecurityTokenCookieValue.Expires property

The expiry date for the security token issued that matches the cookie.

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

Syntax

'Declaration
Public Property Expires As DateTime
    Get
    Protected Set
'Usage
Dim instance As SPSessionSecurityTokenCookieValue
Dim value As DateTime

value = instance.Expires

instance.Expires = value
public DateTime Expires { get; protected set; }

Property value

Type: System.DateTime

See also

Reference

SPSessionSecurityTokenCookieValue class

SPSessionSecurityTokenCookieValue members

Microsoft.SharePoint.IdentityModel namespace