WorkSiteGetWorkSiteFolderIdFromName Method Mocom WorkSite Library API
Gets the folder ID for the named folder.

Namespace: Mocom_WorkSite_Library
Assembly: Mocom WorkSite Library (in Mocom WorkSite Library.dll) Version: 1.0.8.0 (1.0.8)
Syntax

public int GetWorkSiteFolderIdFromName(
	string folderName
)

Parameters

folderName
Type: SystemString
The name of the folder.

Return Value

Type: Int32
The folder id
Exceptions

ExceptionCondition
InvalidOperationExceptionThrown when the folder name is not unique and the lookup returns more than one result.
ArgumentExceptionThrown when the folder is not found.
See Also

Reference