Compartilhar via


SmsPageControl.AddAction Method (String, String, Generic IEnumerable, String)

Adds a new action with the specified identifier, title, and details to the indicated group. This method supports the Configuration Manager infrastructure and is not intended to be used directly from your code.

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

Usage

'Usage
Dim actionId As String
Dim title As String
Dim details As IEnumerable(Of String)
Dim groupId As String
Dim returnValue As SmsSummaryAction

returnValue = Me.AddAction(actionId, title, details, groupId)

Syntax

'Declaration
Protected Function AddAction ( _
    actionId As String, _
    title As String, _
    details As IEnumerable(Of String), _
    groupId As String _
) As SmsSummaryAction
protected SmsSummaryAction AddAction (
    string actionId,
    string title,
    IEnumerable<string> details,
    string groupId
)
protected:
SmsSummaryAction^ AddAction (
    String^ actionId, 
    String^ title, 
    IEnumerable<String^>^ details, 
    String^ groupId
)
protected SmsSummaryAction AddAction (
    String actionId, 
    String title, 
    IEnumerable<String> details, 
    String groupId
)
protected function AddAction (
    actionId : String, 
    title : String, 
    details : IEnumerable<String>, 
    groupId : String
) : SmsSummaryAction

Parameters

  • actionId
    [in] Action identifier.
  • title
    [in] Action title.
  • details
    [in] System.Collections.Generic.IEnumerable object that represents action details.

Return Value

SmsSummaryAction object.

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

SmsPageControl Class
SmsPageControl Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
SmsSummaryAction
SmsSummaryActionGroup