Share via


Property.Type Property

Gets or sets the name of the property data type of the user profile property.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Property Type As String
    Get
    Set
'Usage
Dim instance As [Property]
Dim value As String

value = instance.Type

instance.Type = value
public string Type { get; set; }

Property Value

Type: System.String
The friendly name of the type of the user profile property.

Remarks

The property data type can be set for a new property only. Otherwise, an UpdateReadOnlyFieldException will be thrown. The Type property can contain one of the following data types: BigInteger, Binary, Boolean, Date, DateTime, Email, Float, HTML, Integer, Person, String, unique identifier, or URL.

See Also

Reference

Property Class

Property Members

Microsoft.Office.Server.UserProfiles Namespace