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