[This is preliminary documentation and is subject to change.]

Removes the photo from the album.

Namespace:  OfficeClip.DBLayer.OfficePortal
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public bool DeletePhoto(
	int photoId,
	int albumId,
	string fileName,
	int groupId,
	int userId,
	bool isAdmin
)
Visual Basic (Declaration)
Public Function DeletePhoto ( _
	photoId As Integer, _
	albumId As Integer, _
	fileName As String, _
	groupId As Integer, _
	userId As Integer, _
	isAdmin As Boolean _
) As Boolean
Visual C++
public:
bool DeletePhoto(
	int photoId, 
	int albumId, 
	String^ fileName, 
	int groupId, 
	int userId, 
	bool isAdmin
)

Parameters

photoId
Type: System..::.Int32
Id of the photo document to be removed.
albumId
Type: System..::.Int32
Id of the album folder.
fileName
Type: System..::.String
The name of the photo document.
groupId
Type: System..::.Int32
Id of the group where this album belongs.
userId
Type: System..::.Int32
The unique id of the user
isAdmin
Type: System..::.Boolean
is the user an administrator

Return Value

True if the photo is deleted, else False.

See Also