Share via


PropertyCollection.GetPropertyByName 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 Function GetPropertyByName ( _
    strPropName As String _
) As Property
'Usage
Dim instance As PropertyCollection
Dim strPropName As String
Dim returnValue As [Property]

returnValue = instance.GetPropertyByName(strPropName)
[ObsoleteAttribute(""Microsoft.SharePoint.Portal.UserProfiles.PropertyCollection" is obsolete; use class "Microsoft.Office.Server.UserProfiles.PropertyCollection" instead")]
public Property GetPropertyByName(
    string strPropName
)

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.UserProfiles.Property

See Also

Reference

PropertyCollection Class

PropertyCollection Members

Microsoft.SharePoint.Portal.UserProfiles Namespace