Compartilhar via


Propriedade SubscriberLogin

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

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

Sintaxe

'Declaração
Public Overridable Property SubscriberLogin As String
    Get
    Set
'Uso
Dim instance As TransSynchronizationAgent
Dim value As String

value = instance.SubscriberLogin

instance.SubscriberLogin = value
public virtual string SubscriberLogin { get; set; }
public:
virtual property String^ SubscriberLogin {
    String^ get ();
    void set (String^ value);
}
abstract SubscriberLogin : string with get, set
override SubscriberLogin : string with get, set
function get SubscriberLogin () : String
function set SubscriberLogin (value : String)

Valor da propriedade

Tipo: System. . :: . .String
A String value that is the login name.

Implementa

ITransSynchronizationAgent. . :: . .SubscriberLogin

Comentários

Quando possível, use a Autenticação do Windows.

For a pull subscription, the Distribution Agent always connects to the Subscriber locally by using Windows Integrated Authentication, and this property is ignored.

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