다음을 통해 공유


PropertyCollection.RemovePropertyByName Method

NOTE: This API is now obsolete.

Removes the property from the user profile database by the name 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 RemovePropertyByName ( _
    strPropName As String _
)
'Usage
Dim instance As PropertyCollection
Dim strPropName As String

instance.RemovePropertyByName(strPropName)
[ObsoleteAttribute("PropertyCollection is replaced by ProfileSubtypePropertyManager.")]
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