Href Property

The Href property contains the absolute URL of the item in SharePoint Portal Server.

Property Href As String [C++]
Get method:
HRESULT get_Href(BSTR*varHref);

[Visual Basic]



Return Values

This property returns a String that contains the absolute URL.

Error Values

If an error is raised, Err.Number is set to one of the values documented on the Error Messages page.



Get method:

  • varHref
    [out, retval] Pointer to a BSTR that contains the absolute URL.
Return Values

For a list of error messages returned by SharePoint Portal Server, see Error Messages.


This is a read-only property. The Href property corresponds to the searchable property "DAV:href".


To see this property in a fuller context, see Document Management Object Model Sample.