P
Priscilla
Hi
I am trying to delete document library. I found the folowing piece of code
deleting the file , this coding is working fine in the Security Level is
domain, but it didn't work form security option in full truested mode .
Code
try
{
// Create an xmlhttp object.
var oXmlHttp = new ActiveXObject("MSXML2.XMLHTTP");
// Check whether the document with the same name already exists on
SharePoint Team Services (STS).
oXmlHttp.Open("DELETE", strUrl, false)
oXmlHttp.Send();
}
catch (ex)
{
XDocument.UI.Alert("Cancel failed due to the following error.\n\n" +
ex.number + " - " + ex.description);
}
thanks
Priscilla
I am trying to delete document library. I found the folowing piece of code
deleting the file , this coding is working fine in the Security Level is
domain, but it didn't work form security option in full truested mode .
Code
try
{
// Create an xmlhttp object.
var oXmlHttp = new ActiveXObject("MSXML2.XMLHTTP");
// Check whether the document with the same name already exists on
SharePoint Team Services (STS).
oXmlHttp.Open("DELETE", strUrl, false)
oXmlHttp.Send();
}
catch (ex)
{
XDocument.UI.Alert("Cancel failed due to the following error.\n\n" +
ex.number + " - " + ex.description);
}
thanks
Priscilla