Share via


PropertyCollection.RemovePropertyByName Method

Removes the property from the user profile database by the name of the property.

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

Syntax

'Declaration
Public Sub RemovePropertyByName ( _
    strPropName As String _
)
'Usage
Dim instance As PropertyCollection
Dim strPropName As String

instance.RemovePropertyByName(strPropName)
public void RemovePropertyByName(
    string strPropName
)

Parameters

  • strPropName
    Type: System.String
    The name of the property to be removed from the user profile database.

See Also

Reference

PropertyCollection Class

PropertyCollection Members

Microsoft.Office.Server.UserProfiles Namespace