ViewAddInBase.SetCurrentScope Method (AddInContextType, ContextObject)

System Center
 

Updated: June 20, 2017

Applies To: System Center 2016 - Virtual Machine Manager

Called by the add-in framework when the selected item in the console navigation tree has changed.

Namespace:   Microsoft.SystemCenter.VirtualMachineManager.UIAddIns
Assembly:  Microsoft.SystemCenter.VirtualMachineManager.UIAddIns (in Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.dll)

public virtual void SetCurrentScope(
	AddInContextType scopeType,
	ContextObject scopeObject
)

Parameters

scopeType
Type: Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.ContextTypes.AddInContextType

Type: AddInContextType

The scope type of the currently selected console navigation tree item.

scopeObject
Type: Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.ContextTypes.ContextObject

Type: ContextObject

The Virtual Machine Manager (VMM) object that corresponds to the scopeType parameter. The value may be null if the scopeType parameter does not have a backing VMM object.

Return to top
Show: