PropertyCollection.RemovePropertyByURI method
NOTE: This API is now obsolete.
Removes the property from the user profile database by the URI of the property.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
<ObsoleteAttribute("PropertyCollection is replaced by ProfileSubtypePropertyManager.")> _
Public Sub RemovePropertyByURI ( _
strPropURI As String _
)
'Usage
Dim instance As PropertyCollection
Dim strPropURI As String
instance.RemovePropertyByURI(strPropURI)
[ObsoleteAttribute("PropertyCollection is replaced by ProfileSubtypePropertyManager.")]
public void RemovePropertyByURI(
string strPropURI
)
Parameters
strPropURI
Type: System.StringThe URI of the property to be removed from the user profile database.