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

AF SDK Reference

AFContact.Name Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFContact.Name Property
Read/write property that identifies the name of the object.

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

Syntax

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

Dim instance As AFContact
Dim value As String

value = instance.Name

instance.Name = value
public:
virtual property String^ Name {
	String^ get () sealed;
	void set (String^ value) sealed;
}
abstract Name : string with get, set
override Name : string with get, set

Property Value

Type: String
The name that identifies the object. See the ValidateName(String, String) method for a description of what is valid when setting the name of the object.

Exceptions

ExceptionCondition
InvalidOperationException This exception is thrown when setting this property if the contact is defined by ActiveDirectory.

Remarks

This property is used as the key when referencing the object in a collection using the Item property with a string value.

Remarks

The value of this property is obtained from the name Microsoft Active Directory attribute.

Version Information

AFSDK


See Also

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