Edit

Share via


ExchangeService.FindFolders Method

Definition

Overloads

FindFolders(FolderId, FolderView)

Obtains a list of folders by searching the subfolders of a specified folder.

FindFolders(WellKnownFolderName, FolderView)

Obtains a list of folders by searching the subfolders of the specified folder.

FindFolders(FolderId, SearchFilter, FolderView)

Searches a folder by using a specified search filter and a specified folder view.

FindFolders(WellKnownFolderName, SearchFilter, FolderView)

Searches a well-known folder by using a specified search filter and a specified folder view.

FindFolders(FolderId, FolderView)

Obtains a list of folders by searching the subfolders of a specified folder.

public:
 Microsoft::Exchange::WebServices::Data::FindFoldersResults ^ FindFolders(Microsoft::Exchange::WebServices::Data::FolderId ^ parentFolderId, Microsoft::Exchange::WebServices::Data::FolderView ^ view);
public Microsoft.Exchange.WebServices.Data.FindFoldersResults FindFolders (Microsoft.Exchange.WebServices.Data.FolderId parentFolderId, Microsoft.Exchange.WebServices.Data.FolderView view);
Public Function FindFolders (parentFolderId As FolderId, view As FolderView) As FindFoldersResults

Parameters

parentFolderId
FolderId

The ID of the folder whose subfolders are to be searched for folders.

view
FolderView

The view that controls the number of folders that are returned.

Returns

An object that represents the results of the search operation.

Applies to

FindFolders(WellKnownFolderName, FolderView)

Obtains a list of folders by searching the subfolders of the specified folder.

public:
 Microsoft::Exchange::WebServices::Data::FindFoldersResults ^ FindFolders(Microsoft::Exchange::WebServices::Data::WellKnownFolderName parentFolderName, Microsoft::Exchange::WebServices::Data::FolderView ^ view);
public Microsoft.Exchange.WebServices.Data.FindFoldersResults FindFolders (Microsoft.Exchange.WebServices.Data.WellKnownFolderName parentFolderName, Microsoft.Exchange.WebServices.Data.FolderView view);
Public Function FindFolders (parentFolderName As WellKnownFolderName, view As FolderView) As FindFoldersResults

Parameters

parentFolderName
WellKnownFolderName

The name of the folder whose subfolders are to be searched for folders.

view
FolderView

The view that controls the number of folders that are returned.

Returns

An object that represents the results of the search operation.

Applies to

FindFolders(FolderId, SearchFilter, FolderView)

Searches a folder by using a specified search filter and a specified folder view.

public:
 Microsoft::Exchange::WebServices::Data::FindFoldersResults ^ FindFolders(Microsoft::Exchange::WebServices::Data::FolderId ^ parentFolderId, Microsoft::Exchange::WebServices::Data::SearchFilter ^ searchFilter, Microsoft::Exchange::WebServices::Data::FolderView ^ view);
public Microsoft.Exchange.WebServices.Data.FindFoldersResults FindFolders (Microsoft.Exchange.WebServices.Data.FolderId parentFolderId, Microsoft.Exchange.WebServices.Data.SearchFilter searchFilter, Microsoft.Exchange.WebServices.Data.FolderView view);

Parameters

parentFolderId
FolderId

The ID of the folder to be searched for subfolders.

searchFilter
SearchFilter

The search filter to be used for the search.

view
FolderView

The view settings that control the number of folders that are returned in the search results.

Returns

The results of the search.

Applies to

FindFolders(WellKnownFolderName, SearchFilter, FolderView)

Searches a well-known folder by using a specified search filter and a specified folder view.

public:
 Microsoft::Exchange::WebServices::Data::FindFoldersResults ^ FindFolders(Microsoft::Exchange::WebServices::Data::WellKnownFolderName parentFolderName, Microsoft::Exchange::WebServices::Data::SearchFilter ^ searchFilter, Microsoft::Exchange::WebServices::Data::FolderView ^ view);
public Microsoft.Exchange.WebServices.Data.FindFoldersResults FindFolders (Microsoft.Exchange.WebServices.Data.WellKnownFolderName parentFolderName, Microsoft.Exchange.WebServices.Data.SearchFilter searchFilter, Microsoft.Exchange.WebServices.Data.FolderView view);

Parameters

parentFolderName
WellKnownFolderName

The name of the folder to be searched for subfolders.

searchFilter
SearchFilter

The search filter to be used for the search.

view
FolderView

The view settings that control the number of folders that are returned in the search results.

Returns

The results of the search.

Applies to