Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns properties for all sites in the tenant that match the filter expression.
Namespace: Microsoft.Online.SharePoint.TenantAdministration
Assembly: Microsoft.Online.SharePoint.Client.Tenant (in Microsoft.Online.SharePoint.Client.Tenant.dll)
Syntax
'Declaration
Public Overridable Function GetSitePropertiesByFilter ( _
filter As String, _
startIndex As Integer, _
includeDetail As Boolean _
) As SPOSitePropertiesEnumerable
'Usage
Dim instance As Tenant
Dim filter As String
Dim startIndex As Integer
Dim includeDetail As Boolean
Dim returnValue As SPOSitePropertiesEnumerable
returnValue = instance.GetSitePropertiesByFilter(filter, _
startIndex, includeDetail)
public virtual SPOSitePropertiesEnumerable GetSitePropertiesByFilter(
string filter,
int startIndex,
bool includeDetail
)
Parameters
filter
Type: System.StringA string that represents the filter expression.
startIndex
Type: System.Int32An integer that represents the start index of the list of deleted sites.
includeDetail
Type: System.BooleanA Boolean value that indicates whether to include all of the SPSite properties.
Return value
Type: Microsoft.Online.SharePoint.TenantAdministration.SPOSitePropertiesEnumerable
SPOSitePropertiesEnumerable
Remarks
If the filter is null or an empty string, then properties for all of the sites are returned.