PropertyCollection.RemoveSectionByName Method
NOTE: This API is now obsolete.
Removes the specified section 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 RemoveSectionByName ( _
strSectionName As String _
)
'Usage
Dim instance As PropertyCollection
Dim strSectionName As String
instance.RemoveSectionByName(strSectionName)
[ObsoleteAttribute("PropertyCollection is replaced by ProfileSubtypePropertyManager.")]
public void RemoveSectionByName(
string strSectionName
)
Parameters
strSectionName
Type: System.StringThe name of the section.