Friday, 10 November 2017

arcobjects - Is there any way to write a snipet of code with function of "SDELayer -o register" command


I try to create a geodatabase using some SQL command and then register some tables of it with SDE.


I create an empty geodatabase using sde post installation and then create tables and other database objects in a program written by VC# using command like "Create Table" and other DDL scripts.


but after creating database successfully user of this VC# program has to enter "Command prompt" and type sdelayer command to register tables one by one.


I need to make all the process seamless for user and user must not see any change in working environment.Now my question,is there any way that I register tables of my geodatabse with SDE by VC# code programming instead of using "sdelayer" command in command prompt?(Any object model?)



Regards




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...