PublishingSite.SiteCollectionDocumentsLibrary Property

Gets the Site Collection Documents library.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public ReadOnly Property SiteCollectionDocumentsLibrary As SPDocumentLibrary
    Get
'Usage
Dim instance As PublishingSite
Dim value As SPDocumentLibrary

value = instance.SiteCollectionDocumentsLibrary
public SPDocumentLibrary SiteCollectionDocumentsLibrary { get; }

Property Value

Type: Microsoft.SharePoint.SPDocumentLibrary

Exceptions

Exception Condition
InvalidPublishingWebException

The site is not valid. The %1 document library is missing.

See Also

Reference

PublishingSite Class

PublishingSite Members

Microsoft.SharePoint.Publishing Namespace