Export (0) Print
Expand All

SPSite.ToString Method

Returns the name of the site collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Public Overrides Function ToString As String
Dim instance As SPSite
Dim returnValue As String

returnValue = instance.ToString()

Return Value

Type: System.String
A string that contains the name of the site collection.

Community Additions

© 2014 Microsoft