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]

Parameters

None.

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.

[C++]

Parameters

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.

Remarks

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

Example

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