We recommend using Visual Studio 2017

SnapshotGenerationAgent.DistributorLogin Property

Gets or sets the login name used when connecting locally to the Distributor using SQL Server Authentication.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

public string DistributorLogin { get; set; }

Property Value

Type: String
A String value that is the login name.



When possible, use Windows Authentication.

This is a required property if DistributorSecurityMode property is set to Standard.