PublisherLogin Property
Collapse the table of content
Expand the table of content

MergeSynchronizationAgent.PublisherLogin Property


Gets or sets the login name that is used when connecting to the Publisher by using SQL Server Authentication.

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

public virtual string PublisherLogin { get; set; }

Property Value

Type: System.String

A String value that is the login name.

When possible, use Windows Authentication.

When it is possible, we recommend that users enter security credentials at run time. If you must store credentials, use the cryptographic services provided by the Microsoft .NET Framework.

This property is required if the PublisherSecurityMode property is set to Standard.

Return to top
© 2015 Microsoft