[This is preliminary documentation and is subject to change.]
Deletes a row in the OfficeClip based on the service id.
Namespace:
�OfficeClip.Service.Web| Service Item(Id) | Description |
|---|---|
| Task(8) | The OfficeClip Task. The Service subtype for this type is the Contact(18) and Account(31) |
| Event(14) | The OfficeClip Calendar Events. The Service subtype for this type is the Contact(18) and Account(31) |
| Contact(18) | The contact management metaentity |
| Note(20) | The OfficeClip Notes Entity. The Service subtype for this type is the Contact(18) and Account(31) |
| Attachment(24) | Document attachments with various applications |
| Mail Merge Campaign(28) | The mail merge campaign information |
| Account(31) | Account Information |
| Project(32) | Project information |
| Service Item(33) | Services Item information |
| Expense(36) | Expense information |
| Expense Type(38) | The expense type information |
Assembly: �OfficeClip.Service (in OfficeClip.Service)
Version: 8.1.1.0
Syntax
| C# |
|---|
public bool Delete( int serviceType, string sid ) |
| Visual Basic (Declaration) |
|---|
Public Function Delete ( _ serviceType As Integer, _ sid As String _ ) As Boolean |
| Visual C++ |
|---|
public: bool Delete( int serviceType, String^ sid ) |
Parameters
- serviceType
- Type: System..::.Int32
An integer that represents the service type for which the schema is desired.
- sid
- Type: System..::.String
The serial id of the organization
Return Value
True if successfully deleted, false otherwise.
Examples
public static DataSet DeleteCampaignAttachment( WebServiceClient.Generic.OfficeClipGeneric ofg, string sid ) { DataSet ds = null; try { // Service Type 24 is for campaign data bool status = ofg.Delete(24, sid); Console.WriteLine((status) ? "Delete Successful" : "Delete Failed"); } catch (SoapException ex) { Console.WriteLine(ex.Message); } return ds; }
