Udostępnij za pośrednictwem


ISessionExplorer.AddSession Method

Adds the session to the tree control if it’s not already there.

Namespace: Microsoft.Uii.Desktop.Core
Assembly: Microsoft.Uii.Desktop.Core (in Microsoft.Uii.Desktop.Core.dll)

Usage

'Usage
Dim instance As ISessionExplorer
Dim session As Session
Dim selected As Boolean

instance.AddSession(session, selected)

Syntax

'Declaration
Sub AddSession ( _
    session As Session, _
    selected As Boolean _
)
void AddSession (
    Session session,
    bool selected
)
void AddSession (
    Session^ session, 
    bool selected
)
void AddSession (
    Session session, 
    boolean selected
)
function AddSession (
    session : Session, 
    selected : boolean
)

Parameters

  • session
    Specifies the current active session
  • selected
    True if the session is selected, otherwise false.

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

See Also

Reference

ISessionExplorer Interface
ISessionExplorer Members
Microsoft.Uii.Desktop.Core Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.