PropertyCollection.RemoveByName 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 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(""Microsoft.SharePoint.Portal.UserProfiles.PropertyCollection" is obsolete; use class "Microsoft.Office.Server.UserProfiles.PropertyCollection" instead")]
public void RemoveByName(
string strName,
bool fIsSection
)
Parameters
- strName
Type: System.String
- fIsSection
Type: System.Boolean