SetRelyingPartyTrustCommand.TokenLifetime Property

Gets and sets the value of the TokenLifetime parameter of the Set-ADFSRelyingPartyTrust cmdlet.

Namespace: Microsoft.IdentityServer.PowerShell.Commands
Assembly: Microsoft.IdentityServer.PowerShell (in Microsoft.IdentityServer.PowerShell)

Usage

'Usage
Dim instance As SetRelyingPartyTrustCommand
Dim value As Nullable(Of Integer)

value = instance.TokenLifetime

instance.TokenLifetime = value

Syntax

'Declaration
<ParameterAttribute(Mandatory:=False)> _
Public Property TokenLifetime As Nullable(Of Integer)
[ParameterAttribute(Mandatory=false)] 
public Nullable<int> TokenLifetime { get; set; }
[ParameterAttribute(Mandatory=false)] 
public:
property Nullable<int> TokenLifetime {
    Nullable<int> get ();
    void set (Nullable<int> value);
}
/** @property */
public Nullable<int> get_TokenLifetime ()

/** @property */
public void set_TokenLifetime (Nullable<int> value)
public function get TokenLifetime () : Nullable<int>

public function set TokenLifetime (value : Nullable<int>)

Property Value

Returns Nullable.

Remarks

This topic is included in this SDK for completeness only. For more information about this cmdlet, see Set-ADFSRelyingPartyTrust in the Microsoft TechNet library.

For Help at the command line, type:

get-help set-adfsrelyingpartytrust

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 Server 2008, Windows Server 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2008 R2

See Also

Reference

SetRelyingPartyTrustCommand Class
SetRelyingPartyTrustCommand Members
Microsoft.IdentityServer.PowerShell.Commands Namespace