次の方法で共有


SPSiteLookupProvider.GetSiteNames method (SPContentDatabase)

Returns a list of all the names of site collections in the specified content database.

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

Syntax

'Declaration
Public MustOverride Function GetSiteNames ( _
    database As SPContentDatabase _
) As IList(Of String)
'Usage
Dim instance As SPSiteLookupProvider
Dim database As SPContentDatabase
Dim returnValue As IList(Of String)

returnValue = instance.GetSiteNames(database)
public abstract IList<string> GetSiteNames(
    SPContentDatabase database
)

Parameters

Return value

Type: System.Collections.Generic.IList<String>
IList<T>
The list of site collection names.

See also

Reference

SPSiteLookupProvider class

SPSiteLookupProvider members

GetSiteNames overload

Microsoft.SharePoint.Administration namespace