IEWSClient.CreateFolder

CreateFolder(string, string)

Creates the new folder with the specified name in the specified parent folder.

public ExchangeFolderInfo CreateFolder(string parentFolderUri, string name)
ParameterTypeDescription
parentFolderUriStringAn uri of parent folder.
nameStringA name of folder to be created.

Exceptions

exceptioncondition
AsposeArgumentExceptionparentFolderUri or name is null or empty.

See Also


CreateFolder(string, string, ExchangeFolderPermissionCollection)

Creates the new folder

public ExchangeFolderInfo CreateFolder(string parentFolderUri, string name, 
    ExchangeFolderPermissionCollection permissions)
ParameterTypeDescription
parentFolderUriStringThe URI of parent folder
nameStringThe name of new folder
permissionsExchangeFolderPermissionCollectionA permission on new folder

Return Value

Returns folder information

See Also


CreateFolder(string, string, ExchangeFolderPermissionCollection, string)

Creates the new folder

public ExchangeFolderInfo CreateFolder(string parentFolderUri, string name, 
    ExchangeFolderPermissionCollection permissions, string folderClass)
ParameterTypeDescription
parentFolderUriStringThe URI of parent folder
nameStringThe name of new folder
permissionsExchangeFolderPermissionCollectionA permission on new folder
folderClassStringThe class of new folder

Return Value

Returns folder information

See Also


CreateFolder(string, ExchangeFolderType)

Creates new folder in the root folder.

public ExchangeFolderInfo CreateFolder(string name, ExchangeFolderType folderType)
ParameterTypeDescription
nameStringThe name of new folder
folderTypeExchangeFolderTypeType of folder

Return Value

Returns folder information

See Also


CreateFolder(string, string, ExchangeFolderType)

Creates the new folder

public ExchangeFolderInfo CreateFolder(string parentFolderUri, string name, 
    ExchangeFolderType folderType)
ParameterTypeDescription
parentFolderUriStringThe URI of parent folder
nameStringThe name of new folder
folderTypeExchangeFolderTypeType of folder

Return Value

Returns folder information

See Also


CreateFolder(string)

Creates new folder in the root folder.

public ExchangeFolderInfo CreateFolder(string name)
ParameterTypeDescription
nameStringThe name of new folder

Return Value

Returns folder information

See Also