Partilhar via


SmsRootConsoleNode.OnExpandFromLoad Method

Handles a notification from the Microsoft Management Console to restore the user to the last node that was opened.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim status As SyncStatus
Dim returnValue As Boolean

returnValue = Me.OnExpandFromLoad(status)

Syntax

'Declaration
Protected Overrides Function OnExpandFromLoad ( _
    status As SyncStatus _
) As Boolean
protected override bool OnExpandFromLoad (
    SyncStatus status
)
protected:
virtual bool OnExpandFromLoad (
    SyncStatus^ status
) override
protected boolean OnExpandFromLoad (
    SyncStatus status
)
protected override function OnExpandFromLoad (
    status : SyncStatus
) : boolean

Parameters

  • status
    [in] Microsoft.ManagementConsole.SyncStatus object that indicates the status of the operation.

Return Value

true if the user is restored to the last node that was opened; otherwise false.

Remarks

Your application must override this method in a derived class.

The Configuration Manager implementation of this method does not take the user all the way to the node because many queries might have to be run to build the tree. However, the method takes the user to the nearest parent or child node.

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 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsRootConsoleNode Class
SmsRootConsoleNode Members
Microsoft.ConfigurationManagement.AdminConsole Namespace