PropertyCollection.RemoveByName Method
Removes a property or section object from the user profile database by name.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
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)
public void RemoveByName(
string strName,
bool fIsSection
)
Parameters
- strName
Type: System.String
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.