Sun StorageTek 5800 System SDK Reference Manual

DeleteRecord

Deletes a record associated with an OID.

Synopsis

     DeleteRecord <IP | HOST> <OID> [OPTIONS]

Description

Deletes a record associated with an OID. The OID specifies which record to delete. The record consists of all metadata associated with the OID, or the data if it is a data OID. The OID itself becomes inaccessible. If this OID is the last OID associated with the data, the data is also deleted.

Options

-v

Print deleted OID to stdout.

-h

Print this message.

Examples

     DeleteRecord server 0200004f75ee01094cc13e11dbbad000e08159832d000024d40200000000

Source Code

     c/examples/DeleteRecord.c