Freigeben über


SnapshotGenerationAgent.PublisherLogin-Eigenschaft

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

'Declaration
Public Property PublisherLogin As String 
    Get 
    Set
'Usage
Dim instance As SnapshotGenerationAgent 
Dim value As String 

value = instance.PublisherLogin

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

Eigenschaftswert

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

Implementiert

ISnapshotGenerationAgent.PublisherLogin

Hinweise

Verwenden Sie nach Möglichkeit die Windows-Authentifizierung.

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

Siehe auch

Verweis

SnapshotGenerationAgent Klasse

Microsoft.SqlServer.Replication-Namespace