Freigeben über


SmsPageControl.AddAction Method (String, String)

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

returnValue = Me.AddAction(actionId, title)

Syntax

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