Partilhar via


SmsPageControl.ReplaceAction Method

Replaces the specified action with a new action that has the same identifier but a new 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.ReplaceAction(actionId, title, details)

Syntax

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

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