Write-only |
About Cal Sets |
Description |
Deletes a Cal Set from the set of available Cal Sets. This method immediately updates the Cal Set file on the hard drive. If the Cal Set is currently being used by a channel or does not exist, this request will be denied and an error is returned. Using the Cal Sets collection is a convenient way to manage Cal Sets. |
VB Syntax |
calMgr.DeleteCalSet (calset) |
Variable |
(Type) - Description |
calMgr |
(object) - A CalManager object |
calset |
(string) - Cal Set to be deleted. Specify the Cal Set by GUID or Name. Use EnumerateCalSets to list the available Cal Sets by name. |
Return Type |
Not Applicable |
Default |
Not Applicable |
Example |
Set pna=CreateObject("AgilentPNA835x.Application") Set cmgr = pna.GetCalManager cmgr.DeleteCalSet ("MyCalSet") |
C++ Syntax |
HRESULT DeleteCalSet( BSTR strCalset); |
Interface |
ICalManager |