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

AF SDK Reference

AFConnectionInfo.Host Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFConnectionInfo.Host Property
This property is the name of the host machine where the PI AF Server for this PISystem is executing.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public string Host { get; set; }
Public Property Host As String
	Get
	Set

Dim instance As AFConnectionInfo
Dim value As String

value = instance.Host

instance.Host = value
public:
property String^ Host {
	String^ get ();
	void set (String^ value);
}
member Host : string with get, set

Property Value

Type: String
The name of the host machine where the PI AF Server for this PISystem is executing.
Important note Important
This property can only be modified when disconnected from the server.

Remarks

If the PISystem is part of a AFCollective, then this property can only be modified by editing the AFCollectiveMember settings.

Version Information

AFSDK


See Also

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