Share via


Tenant.GetSiteProperties method

Returns the properties for all sites in the tenant.

Namespace:  Microsoft.Online.SharePoint.TenantAdministration
Assembly:  Microsoft.Online.SharePoint.Client.Tenant (in Microsoft.Online.SharePoint.Client.Tenant.dll)

Syntax

'Declaration
Public Overridable Function GetSiteProperties ( _
    startIndex As Integer, _
    includeDetail As Boolean _
) As SPOSitePropertiesEnumerable
'Usage
Dim instance As Tenant
Dim startIndex As Integer
Dim includeDetail As Boolean
Dim returnValue As SPOSitePropertiesEnumerable

returnValue = instance.GetSiteProperties(startIndex, _
    includeDetail)
public virtual SPOSitePropertiesEnumerable GetSiteProperties(
    int startIndex,
    bool includeDetail
)

Parameters

  • startIndex
    Type: System.Int32

    An integer that represents the start index of the list of deleted sites.

  • includeDetail
    Type: System.Boolean

    A Boolean value that indicates whether to include all of the SPSite properties.

Return value

Type: Microsoft.Online.SharePoint.TenantAdministration.SPOSitePropertiesEnumerable
SiteProperties

See also

Reference

Tenant class

Tenant members

Microsoft.Online.SharePoint.TenantAdministration namespace