다음을 통해 공유


PropertyCollection.RemoveByName Method

NOTE: This API is now obsolete.

Removes a property or section object from the user profile database by name.

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 RemoveByName ( _
    strName As String, _
    fIsSection As Boolean _
)
'Usage
Dim instance As PropertyCollection
Dim strName As String
Dim fIsSection As Boolean

instance.RemoveByName(strName, fIsSection)
[ObsoleteAttribute("PropertyCollection is replaced by ProfileSubtypePropertyManager.")]
public void RemoveByName(
    string strName,
    bool fIsSection
)

Parameters

  • strName
    Type: System.String

    The name of the property or section object to be removed from the user profile database.

  • fIsSection
    Type: System.Boolean

    true if this property is a section; otherwise, false.

See Also

Reference

PropertyCollection Class

PropertyCollection Members

Microsoft.Office.Server.UserProfiles Namespace