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

AF SDK Reference

AFContact.MobilePhone Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFContact.MobilePhone Property
The contact's primary mobile phone number.

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

Syntax

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

Dim instance As AFContact
Dim value As String

value = instance.MobilePhone

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

Property Value

Type: String
Returns the contact's primary mobile phone number. The maximum length of this property is 50 characters.

Exceptions

ExceptionCondition
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 mobile Microsoft Active Directory attribute.

Version Information

AFSDK


See Also

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