Skip to content

Commit 54c645b

Browse files
Copilotjohlju
andcommitted
Add ServerInstance property to SMO stubs for Server and Database classes
Co-authored-by: johlju <[email protected]>
1 parent e573871 commit 54c645b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Unit/Stubs/SMO.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ public class Server
295295
public Hashtable Logins = new Hashtable();
296296
public string Name;
297297
public string NetName;
298+
public string ServerInstance;
298299
public Hashtable Roles = new Hashtable();
299300
public Hashtable Version = new Hashtable();
300301

@@ -322,6 +323,7 @@ public Server Clone()
322323
Logins = this.Logins,
323324
Name = this.Name,
324325
NetName = this.NetName,
326+
ServerInstance = this.ServerInstance,
325327
Roles = this.Roles,
326328
ServiceName = this.ServiceName,
327329
Version = this.Version
@@ -564,6 +566,7 @@ public Database( Object server, string name ) {
564566
public Database() {}
565567

566568
public string Name;
569+
public string ServerInstance;
567570

568571
public void Create()
569572
{

0 commit comments

Comments
 (0)