AFContact.IPPhone Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The contact's primary IP phone number.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public string IPPhone { get; set; }
Public Property IPPhone As String Get Set Dim instance As AFContact Dim value As String value = instance.IPPhone instance.IPPhone = value
public: property String^ IPPhone { String^ get (); void set (String^ value); }
member IPPhone : string with get, set
Property Value
Type: StringReturns the contact's primary IP phone number. The maximum length of this property is 50 characters.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | This exception is thrown when setting this property if the contact is defined by ActiveDirectory. |
Remarks
The value of this property is obtained from the
ipPhone Microsoft Active Directory attribute.