Renames the alias.
Namespace:
Linxter.SDKAssembly: Linxter.SDK (in Linxter.SDK.dll) Version: 1.5.0.0 (1.5.0.0)
Syntax
Parameters
- name
- Type: System..::.String
The alias name.
Examples
public void RenameAliasExample() { // Set up SDK objects ILinxterMessaging messaging = new LinxterSDK(); ILinxterRegistration registration = messaging as ILinxterRegistration; // Change the name of this program instance string newName = string.Format("My New Program Name - {0}", registration.ProgramInstanceId); registration.RenameAlias(newName); }
Sub RenameAliasExample() ' Set up SDK objects Dim messaging As New LinxterSDK() Dim registration = CType(messaging, ILinxterRegistration) ' Change the name of this program instance Dim newName As String = String.Format("My New Program Name - {0}", registration.ProgramInstanceId) registration.RenameAlias(newName) End Sub