共用方式為


RMProfileClient.TryRenameContext(String, String) Method

Definition

Rename the given named context

public bool TryRenameContext (string sourceContext, string targetContext);
member this.TryRenameContext : string * string -> bool
Public Function TryRenameContext (sourceContext As String, targetContext As String) As Boolean

Parameters

sourceContext
String

The name of the context to change

targetContext
String

The enw name for the context

Returns

true if the rename was successful, otherwise falkse

Applies to