Partilhar via


ScopeNodeBase.OnRename Method

Handles a notification that the Rename standard verb is triggered.

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

Usage

'Usage
Dim newText As String
Dim status As SyncStatus

Me.OnRename(newText, status)

Syntax

'Declaration
Protected Overrides Sub OnRename ( _
    newText As String, _
    status As SyncStatus _
)
protected override void OnRename (
    string newText,
    SyncStatus status
)
protected:
virtual void OnRename (
    String^ newText, 
    SyncStatus^ status
) override
protected void OnRename (
    String newText, 
    SyncStatus status
)
protected override function OnRename (
    newText : String, 
    status : SyncStatus
)

Parameters

  • newText
    [in] Text used for renaming.
  • status
    [in] Microsoft.ManagementConsole.SyncStatus object.

Remarks

Your application must override this method in a derived class.

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

ScopeNodeBase Class
ScopeNodeBase Members
Microsoft.ConfigurationManagement.AdminConsole Namespace