You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Folder Class > Folder Methods > GetFolderID Method > GetFolderID
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Folder.GetFolderID Method (string, long)

Finds the folder ID by folder name and in a parent folder specified. 

This method can be accessed through the Folder.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Folder.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "GetFolderIDByName", Description = "Finds the folder ID by folder name and in a parent folder specified.")]
public long GetFolderID(string FolderName, long ParentId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetFolderIDByName", Description = "Finds the folder ID by folder name and in a parent folder specified.")>
Public Function GetFolderID(FolderName As string, ParentId As long) As long
Parameters 
Description 
FolderName 
Name of the folder ID. 
ParentId 
Look in a folder. 

Returns the folder ID. Returns 0 if it does not exist.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!