Share via


DeleteList Method

Deletes a specified list.

Namespace:  Microsoft.CommerceServer.Marketing.WebService
Assembly:  Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Sub DeleteList ( _
    listId As Guid _
)
'Usage
Dim instance As MarketingWebService
Dim listId As Guid

instance.DeleteList(listId)
[WebMethodAttribute]
public virtual void DeleteList(
    Guid listId
)
[WebMethodAttribute]
public:
virtual void DeleteList(
    Guid listId
)
public function DeleteList(
    listId : Guid
)

Parameters

Exceptions

Exception Condition
InvalidCatalogOperationException

Attempted to delete the global opt-out-list.

EntityStateException

List is not available.

DatabaseIntegrityException

A serious integrity issue with the database exists.

Remarks

Deletes a list. If the list is busy with an operation, an exception is thrown. The associated list data is also deleted.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace