|
|
|||||||
|
The Delete method deletes the specified taglist. Section taglists
returned from CreateSection or OpenSection
should not be passed to the Delete method, but instead should be
passed to CloseSection when they are no
longer needed.
|
|||||||
|
Parameters: |
|||||||
|
|||||||
|
Return Values: |
|||||||
|
|||||||
|
Example: |
|||||||
|
function LogOn()
{ var CAS_instance; // Get access to CAS interface and open an instance if (CAS = new ActiveXObject("CASX.CAS")) { if (CAS_instance = CAS.Open(0,"",0)) { var Tl, UniqueName, StatusNum; // Logon to the connection router Tl = CAS.New(); CAS.AddTag(Tl,"LOGON",""); UniqueName = "XYZ-"+parseInt(Math.random()*1000000+1000000); CAS.AddTag(Tl,"LOGON_NAME",UniqueName); CAS.AddTag(Tl,"DOMAIN_NAME","\\\\CASDEV\\NETSATISFAXTION"); CAS.AddTag(Tl,"PROTOCOL",2); // IP // Send taglist to CAS driver, to logon to domain Tl = CAS.Send(CAS_instance,Tl); StatusNum = parseInt(CAS.GetTag(Tl,"STATUS_NUM",0)); CAS.Delete(Tl); if (StatusNum == 0) { return(CAS_instance); } CAS.Close(CAS_instance); } delete CAS; } return(null); } |
|||||||
|
See Also: |
|||||||
| CAS New, CAS Send | |||||||
|
|