There is probably a simple way to find this out but I cannot find it:
How would I be able to find out what the possible attributeName values are which you can retrieve by using the GetAttribute method. For example, one of them is "Name" which returns the name of the object. I need to find out the type of the object (e.g. table, view, UDF...)
You can obtain the type of the object as a string using the Urn.Type property.
eg. for Urn u = new Urn("Server/Database/Table");
u.Type would return you "Table".
Thanks,
Kuntal
No comments:
Post a Comment