You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Tags Class > Tags Methods > DeleteTagOnObject
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Tags.DeleteTagOnObject Method

Deletes a user's tag on an object. For example, A user had tagged content ID #101 with "CMS" and now wishes to delete that object tag. 

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

~/Workarea/webservices/WebServiceAPI/Community/Tags.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "DeleteTagOnObject", Description = "Deletes a user's tag on an object. For example, User A had tagged content 101 with \"CMS\" and now wishes to delete that object tag.")]
public bool DeleteTagOnObject(long tagID, long ObjectID, EkEnumeration.CMSObjectTypes ObjectType, long userId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "DeleteTagOnObject", Description = "Deletes a user's tag on an object. For example, User A had tagged content 101 with \"CMS\" and now wishes to delete that object tag.")>
Public Function DeleteTagOnObject(tagID As long, ObjectID As long, ObjectType As EkEnumeration.CMSObjectTypes, userId As long) As bool
Parameters 
Description 
tagID 
The ID of tag to delete 
ObjectID 
The ID of the object. 
ObjectType 
The type of object associated with the ObjectId. 
userId 
The ID of the user who originally applied the tag and wants to delete it. 

True if operation was successful.

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!