Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

SetAFServer.NewName Property

  • Last UpdatedDec 15, 2025
  • 1 minute read
SetAFServer.NewName Property

NewName of the AF Server

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[ParameterAttribute(Position = 0, Mandatory = false, HelpMessage = "AF Server Name")]
[ValidateNotNullOrEmptyAttribute]
public string NewName { get; set; }
<ParameterAttribute(Position := 0, Mandatory := false, HelpMessage := "AF Server Name")>
<ValidateNotNullOrEmptyAttribute>
Public Property NewName As String
	Get
	Set

Dim instance As SetAFServer
Dim value As String

value = instance.NewName

instance.NewName = value
public:
[ParameterAttribute(Position = 0, Mandatory = false, HelpMessage = L"AF Server Name")]
[ValidateNotNullOrEmptyAttribute]
property String^ NewName {
	String^ get ();
	void set (String^ value);
}
[<ParameterAttribute(Position = 0, Mandatory = false, HelpMessage = "AF Server Name")>]
[<ValidateNotNullOrEmptyAttribute>]
member NewName : string with get, set

Property Value

Type: String

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in