Share via


PropertyCollection.RemovePropertyByName Method

NOTE: This API is now obsolete.

Obsolete.

Namespace:  Microsoft.SharePoint.Portal.UserProfiles
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute(""Microsoft.SharePoint.Portal.UserProfiles.PropertyCollection" is obsolete; use class "Microsoft.Office.Server.UserProfiles.PropertyCollection" instead")> _
Public Sub RemovePropertyByName ( _
    strPropName As String _
)
'Usage
Dim instance As PropertyCollection
Dim strPropName As String

instance.RemovePropertyByName(strPropName)
[ObsoleteAttribute(""Microsoft.SharePoint.Portal.UserProfiles.PropertyCollection" is obsolete; use class "Microsoft.Office.Server.UserProfiles.PropertyCollection" instead")]
public void RemovePropertyByName(
    string strPropName
)

Parameters

See Also

Reference

PropertyCollection Class

PropertyCollection Members

Microsoft.SharePoint.Portal.UserProfiles Namespace