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

PI Powershell

SetAFPort.Description Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetAFPort.Description Property

Description to set on the AF Port

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

Syntax

[ParameterAttribute(Position = 1, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = "Port Description")]
[ValidateNotNullOrEmptyAttribute]
public string Description { get; set; }
<ParameterAttribute(Position := 1, Mandatory := false, ValueFromPipeline := false, 
	HelpMessage := "Port Description")>
<ValidateNotNullOrEmptyAttribute>
Public Property Description As String
	Get
	Set

Dim instance As SetAFPort
Dim value As String

value = instance.Description

instance.Description = value
public:
[ParameterAttribute(Position = 1, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = L"Port Description")]
[ValidateNotNullOrEmptyAttribute]
property String^ Description {
	String^ get ();
	void set (String^ value);
}
[<ParameterAttribute(Position = 1, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = "Port Description")>]
[<ValidateNotNullOrEmptyAttribute>]
member Description : string with get, set

Property Value

Type: String

See Also

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