DeleteSiteTerm Method

Deletes a site term from the server.

Namespace:  Microsoft.CommerceServer.Profiles
Assembly:  Microsoft.CommerceServer.Profiles.CrossTierTypes (in Microsoft.CommerceServer.Profiles.CrossTierTypes.dll)

Syntax

'Declaration
Public Sub DeleteSiteTerm ( _
    siteTermName As String _
)
'Usage
Dim instance As ProfileManagementContext
Dim siteTermName As String

instance.DeleteSiteTerm(siteTermName)
public void DeleteSiteTerm(
    string siteTermName
)
public:
void DeleteSiteTerm(
    String^ siteTermName
)
public function DeleteSiteTerm(
    siteTermName : String
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Any of the parameters provided is nullNothingnullptra null reference (Nothing in Visual Basic).

AuthenticationException

User has not been authenticated.

NotAuthorizedException

User is not authorized to perform this task.

SiteTermDoesNotExistException

The siteTermName specified does not exist.

Remarks

The site term group does not need to be specified because site term names must be unique within the profile system.

Permissions

See Also

Reference

ProfileManagementContext Class

ProfileManagementContext Members

Microsoft.CommerceServer.Profiles Namespace