Freigeben über


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

Adds a new action with the specified identifier, title, and details. 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 returnValue As SmsSummaryAction

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

Syntax

'Declaration
Protected Function AddAction ( _
    actionId As String, _
    title As String, _
    details As IEnumerable(Of String) _
) As SmsSummaryAction
protected SmsSummaryAction AddAction (
    string actionId,
    string title,
    IEnumerable<string> details
)
protected:
SmsSummaryAction^ AddAction (
    String^ actionId, 
    String^ title, 
    IEnumerable<String^>^ details
)
protected SmsSummaryAction AddAction (
    String actionId, 
    String title, 
    IEnumerable<String> details
)
protected function AddAction (
    actionId : String, 
    title : String, 
    details : IEnumerable<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