Freigeben über


SmsFormViewBase.ShowSelectionDialogResource Method

Displays the specified Configuration Manager console selection dialog to the user.

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

Usage

'Usage
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

'Declaration
Public Sub ShowSelectionDialogResource ( _
    configMgrActionDescription As ActionDescription, _
    selectedResultObject As IResultObject, _
    selectionSharedData As SharedData, _
    showDialog As Boolean, _
    dataUpdatedDelegate As PropertyDataUpdated _
)
public void ShowSelectionDialogResource (
    ActionDescription configMgrActionDescription,
    IResultObject selectedResultObject,
    SharedData selectionSharedData,
    bool showDialog,
    PropertyDataUpdated dataUpdatedDelegate
)
public:
void ShowSelectionDialogResource (
    ActionDescription^ configMgrActionDescription, 
    IResultObject^ selectedResultObject, 
    SharedData^ selectionSharedData, 
    bool showDialog, 
    PropertyDataUpdated^ dataUpdatedDelegate
)
public void ShowSelectionDialogResource (
    ActionDescription configMgrActionDescription, 
    IResultObject selectedResultObject, 
    SharedData selectionSharedData, 
    boolean showDialog, 
    PropertyDataUpdated dataUpdatedDelegate
)
public function ShowSelectionDialogResource (
    configMgrActionDescription : ActionDescription, 
    selectedResultObject : IResultObject, 
    selectionSharedData : SharedData, 
    showDialog : boolean, 
    dataUpdatedDelegate : PropertyDataUpdated
)

Parameters

  • 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.

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

Reference

SmsFormViewBase Class
SmsFormViewBase Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
ActionDescription
PropertyDataUpdated Delegate
IResultObject