Adding existing items to storage Group

Mar 26, 2010 at 12:01 PM

Pleaswe could you tell me how I add an existing item to a storage Group?  i.e. another storagegroup, windows user, db user

I have tried the following without success.


<font size="2">




this seems to do something but when I look in the storage group nothing has been added.


I also tried:

DestGroup.CreateStoreGroupMember(SourceGroup,SID, WhereDefined.Store, true);

this failed too.

Please could you just write me a quick example then I know how its done as I have to have my implementation completed for Monday.

Mar 26, 2010 at 3:18 PM


the method you should use is:


Which is the error ?


Andrea Ferendeles
NetSqlAzMan Project Coordinator  
E-mail Web

Mar 26, 2010 at 3:57 PM


I have got it working now with the CreateStoreGroupMember, the first parameter tooltip mentions it should be the owner sid and I assumed it was the saem owner sid that is used when adding items to roles, tasks etc.  So this is where I was going wrong :-)