Udostępnij przez


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)

Syntax

'Deklaracja
Public Property DistributorLogin As String
public string DistributorLogin { get; set; }
public:
virtual property String^ DistributorLogin {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_DistributorLogin ()

/** @property */
public final void set_DistributorLogin (String value)
public final function get DistributorLogin () : String

public final function set DistributorLogin (value : String)

Property Value

A String value that is the login name.

Remarks

When possible, use Windows Authentication.

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.