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

AF SDK Reference

PIConnectionInfo.Host Property

  • Last UpdatedJan 12, 2026
  • 2 minute read
PIConnectionInfo.Host Property
This property is the name of the host machine where the PIServer is executing.

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

Syntax

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

Dim instance As PIConnectionInfo
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 PIServer is executing.
Important note Important
This property can only be modified when disconnected from the server.

Remarks

If the PIServer is part of a PICollective, then this property can only be modified by editing the PICollectiveMember settings.

Version Information

AFSDK


See Also

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