Displays the specified Configuration Manager console selection dialog to the user. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim instance As SmsFormViewBase
Dim configMgrActionDescription As ActionDescription
Dim selectedResultObject As IResultObject
Dim selectionSharedData As SharedData
Dim showDialog As Boolean
Dim dataUpdatedDelegate As PropertyDataUpdated

instance.ShowSelectionDialogResource(configMgrActionDescription, selectedResultObject, selectionSharedData, showDialog, dataUpdatedDelegate)

Syntax

Visual Basic
Public Sub ShowSelectionDialogResource ( _
		configMgrActionDescription As ActionDescription, _
		selectedResultObject As IResultObject, _
		selectionSharedData As SharedData, _
		showDialog As Boolean, _
		dataUpdatedDelegate As PropertyDataUpdated _
)
C#
public void ShowSelectionDialogResource (
		ActionDescription configMgrActionDescription,
		IResultObject selectedResultObject,
		SharedData selectionSharedData,
		bool showDialog,
		PropertyDataUpdated dataUpdatedDelegate
)
C++
public:
void ShowSelectionDialogResource (
		ActionDescription^ configMgrActionDescription, 
		IResultObject^ selectedResultObject, 
		SharedData^ selectionSharedData, 
		bool showDialog, 
		PropertyDataUpdated^ dataUpdatedDelegate
)
J#
public void ShowSelectionDialogResource (
		ActionDescription configMgrActionDescription, 
		IResultObject selectedResultObject, 
		SharedData selectionSharedData, 
		boolean showDialog, 
		PropertyDataUpdated dataUpdatedDelegate
)
JScript
public function ShowSelectionDialogResource (
		configMgrActionDescription : ActionDescription, 
		selectedResultObject : IResultObject, 
		selectionSharedData : SharedData, 
		showDialog : boolean, 
		dataUpdatedDelegate : PropertyDataUpdated
)

Parameters

configMgrActionDescription

[in] ActionDescription object.

selectedResultObject

[in] IResultObject interface for getting and setting result object properties.

selectionSharedData

[in] Microsoft.ManagementConsole.SharedData object for the selection.

showDialog

[in] true to show the dialog.

dataUpdatedDelegate

[in] PropertyDataUpdated delegate.

Exceptions

Exception type Condition
ArgumentNullException

The configMgrActionDescription parameter cannot be null.

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