Viewing 15 posts - 1 through 15 (of 16 total)
I finally found the solution by myself.
ScriptOptions.Creation Or ScriptOptions.IncludeAll Xor ScriptOptions.IncludeReplicationJobs
does the trick.
TransactionalPublication.Script(ScriptOptions.Creation Or ScriptOptions.IncludeAll Xor ScriptOptions.IncludeReplicationJobs)
generates the script. I was missing bitwise operators (Or /Xor).
Thanks everyone for your...
August 28, 2008 at 8:24 am
I finally found the solution by myself.
ScriptOptions.Creation Or ScriptOptions.IncludeAll Xor ScriptOptions.IncludeReplicationJobs
do the trick.
TransactionalPublication.Script(ScriptOptions.Creation Or ScriptOptions.IncludeAll Xor ScriptOptions.IncludeReplicationJobs)
generates the script. I was missing bitwise operators (Or /Xor).
Thanks everyone for your...
August 28, 2008 at 8:23 am
I treid all the options available in scriptoptions. Only EnableReplicationDB or Creation works. All others just return me a blank space. No where I could find a reference or example....
August 26, 2008 at 2:24 pm
Thanks for a quick response.
I tried both TransactionalPublication.Load() and TransactionalPublication.LoadProperties. No luck.
I still couldn't figure out a easy way to do it.
Thanks
August 26, 2008 at 12:26 pm
I have multiple publications some are Transactional and some are Merge replication. I could manually script from SQL Management Studio. But I want to automate the process because there are...
August 26, 2008 at 11:05 am
We been using it for the past 5 years. It works perfect. It is just like mirroring of your drives. Occasionnaly the process fails due to network issue etc but...
August 2, 2007 at 1:57 pm
IF SQL Browser service not running on the server you might have some issues connection to named instance espeically if the TCP IP port is set to dynamic(default). Try connecting...
July 26, 2007 at 3:22 pm
Nope. I tried. Since BACKUP is not a DDL event no luck. Any kind of suggestion is really appreciated.
July 19, 2007 at 7:34 am
Nope. I tried. Since BACKUP is not a DDL event no luck. Any kind of suggestion is really appreciated.
July 19, 2007 at 7:34 am
How can I remove access to all members including sysadmin to Decrypt the value opening the symmetric key. Is there a way I can deny access to sysadmin and give...
April 18, 2007 at 8:07 pm
I think I didn't mention exactly what I am looking for. This is what I need to do.
I need to capture the time zone of the DB server and adjust...
March 13, 2006 at 4:08 pm
Option 1 would be better than option 2.
Main reason. You will have Index for each table you create(split). And when you query the UNION ALL VIEW only the index...
March 2, 2006 at 9:22 am
September 15, 2005 at 2:19 pm
Viewing 15 posts - 1 through 15 (of 16 total)