PropertyCollection.GetSectionByName Method
NOTE: This API is now obsolete.
Gets a 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 Function GetSectionByName ( _
strSectionName As String _
) As Property
'Usage
Dim instance As PropertyCollection
Dim strSectionName As String
Dim returnValue As [Property]
returnValue = instance.GetSectionByName(strSectionName)
[ObsoleteAttribute("PropertyCollection is replaced by ProfileSubtypePropertyManager.")]
public Property GetSectionByName(
string strSectionName
)
Parameters
strSectionName
Type: System.StringThe name of the section.
Return Value
Type: Microsoft.Office.Server.UserProfiles.Property
The that contains the Property object.