API Guide
601355 Rev A API Functions 2-811
Functions
30 /* vst_dispatch when final status is
received. */
31 cmd = VS_Command_Create();
32 if ( cmd != (VST_COMMAND_HANDLE)
NULL)
33 {
34 /* Send the command to the VolServ
software. */
35 /* Note that status is not
processed here. */
36 /* Instead, it is processed in the
*/
37 /* vst_dispatch routine. Also,
note that */
38 /* default values such as
timeout,*/
39 /* value retry limit and priority
are set as */
40 /* default parameters. */
41 rc = VSCMD_DeleteMediaClass(cmd,
42 VSID_MEDIA_CLASS_NAME,
mediaclass,
43 VSID_ENDFIELD);
44 }
45 return ( rc );
46 }
Notes The API must be initialized with a call to VS_Initialize
before this function can be executed.
VolServ generates no intermediate status in response to a
Delete Media Class request.
VSCMD_DeleteMediaClass does not trigger any
MediaClass callbacks from VolServ.
If the specified MediaClass group is associated with any
archive media class relationship, the
VSCMD_DeleteMediaClass request fails.