microsoft / microsoft/sqlmanagementobjects

Feature Request - Replication on Core

Open
#59 15 comments 18 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
143
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Replication is useful for people doing DR to Azure. We're looking to add more replication commands to dbatools and having it available on Core/Linux would be helpful. Right now, we can import the DLLs on Core but get this error in Core that we do not in Desktop.

Cannot find an overload for "ReplicationServer" and the argument count: "1".

$sqlconn = New-Object System.Data.SqlClient.SqlConnection $connstring
New-Object Microsoft.SqlServer.Replication.ReplicationServer $sqlconn

We also have to use the classic System.Data instead of Microsoft.Data

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ReplicationServer construction shown in the issue and compare the System.Data.SqlClient and Microsoft.Data usage on Core/Linux. The issue names no files or tests; done means the requested replication commands work on Core/Linux without the reported overload error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, linux, sql
Domain
databases, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.