Hi,
the last parameter of the Export method (owner object) is the object from which you are exporting ... (this is for design requirements)
See the example below:
Regards,
Andrea.
the last parameter of the Export method (owner object) is the object from which you are exporting ... (this is for design requirements)
See the example below:
StringBuilder sb = new StringBuilder();
XmlWriter xWrt = XmlWriter.Create(sb, new XmlWriterSettings() { ConformanceLevel = ConformanceLevel.Fragment });
SqlAzManStorage storage = new SqlAzManStorage("data source=.;initial catalog=NetSqlAzManStorage;Integrated Security=True");
NetSqlAzMan.Interfaces.IAzManStore store = storage["My Store"];
//the Store.Export method need to pass the parent from which you are exporting. In this case the Storage
store.Export(xWrt, true, true, true, storage);
Console.WriteLine(sb.ToString());
I hope this could help.Regards,
Andrea.