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

AF SDK Reference

AFContact.IMAddress Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFContact.IMAddress Property
The contact's primary instant messaging address.

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

Syntax

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

Dim instance As AFContact
Dim value As String

value = instance.IMAddress

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

Property Value

Type: String
Returns a representation (resembling e-mail) of the public URL for the contact's primary instant messaging address. The maximum length of this property is 100 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 ms-Exch-IM-Address Microsoft Active Directory attribute. This attribute is added to Active Directory when you install Microsoft Exchange Server 2003. If this attribute is not present, then this property will always return an empty string.

Version Information

AFSDK


See Also

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