다음을 통해 공유


SecurityTokenServiceConfiguration.MaximumTokenLifetime 속성

Gets or sets the maximum token lifetime for issued tokens.

네임스페이스: Microsoft.IdentityModel.Configuration
어셈블리: Microsoft.IdentityModel(microsoft.identitymodel.dll에 있음)

사용법

    Dim instance As SecurityTokenServiceConfiguration
Dim value As TimeSpan

value = instance.MaximumTokenLifetime

instance.MaximumTokenLifetime = value

구문

‘선언
Public Property MaximumTokenLifetime As TimeSpan
public TimeSpan MaximumTokenLifetime { get; set; }
public:
property TimeSpan MaximumTokenLifetime {
    TimeSpan get ();
    void set (TimeSpan value);
}
/** @property */
public TimeSpan get_MaximumTokenLifetime ()

/** @property */
public void set_MaximumTokenLifetime (TimeSpan value)
public function get MaximumTokenLifetime () : TimeSpan

public function set MaximumTokenLifetime (value : TimeSpan)

속성 값

Returns TimeSpan.

스레드 안전성

이 유형의 공용 정적(Visual Basic에서는 Shared) 멤버는 모두 스레드로부터 안전합니다.인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

개발 플랫폼

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

참고 항목

참조

SecurityTokenServiceConfiguration 클래스
SecurityTokenServiceConfiguration 멤버
Microsoft.IdentityModel.Configuration 네임스페이스