Quantcast
Channel: NetSqlAzMan - .NET SQL Authorization Manager
Viewing all articles
Browse latest Browse all 163

New Post: export

$
0
0
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:
            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.

Viewing all articles
Browse latest Browse all 163

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>