ListObject::SharePointURL Property

 

Gets the URL of the SharePoint list for a given ListObject control.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

property String^ SharePointURL {
	String^ get();
}

Property Value

Type: System::String^

The URL of the SharePoint list for a given ListObject control.

Accessing this property causes an exception to be thrown if the list is not linked to a SharePoint site.

The following code example publishes a ListObject to a Web site that is running Microsoft Windows SharePoint Services. This example assumes that there is a ListObject named customerListObject on the current worksheet, and that the ListObject is linked to a SharePoint site.

This example is for a document-level customization.

No code example is currently available or this language may not be supported.
Return to top
Show: