PropertyCollection.RemoveSectionByName 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 RemoveSectionByName ( _
strSectionName As String _
)
'Usage
Dim instance As PropertyCollection
Dim strSectionName As String
instance.RemoveSectionByName(strSectionName)
[ObsoleteAttribute(""Microsoft.SharePoint.Portal.UserProfiles.PropertyCollection" is obsolete; use class "Microsoft.Office.Server.UserProfiles.PropertyCollection" instead")]
public void RemoveSectionByName(
string strSectionName
)
Parameters
- strSectionName
Type: System.String