Udostępnij przez


SnapshotGenerationAgent.PublisherLogin Property

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

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Syntax

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

/** @property */
public final void set_PublisherLogin (String value)
public final function get PublisherLogin () : String

public final function set PublisherLogin (value : String)

Property Value

A String value that is the login name.

Remarks

When possible, use Windows Authentication.

This is a required property if PublisherSecurityMode 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.