Compartilhar via


SmsPageControl.AddAction Method (String, String, String)

Adds a new action with the specified identifier and title 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 groupId As String
Dim returnValue As SmsSummaryAction

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

Syntax

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

Parameters

  • actionId
    [in] Action identifier.
  • title
    [in] Action title.

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