共用方式為


PublisherLogin 屬性

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

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Property PublisherLogin As String
    Get
    Set
'用途
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)

屬性值

型別:System. . :: . .String
A String value that is the login name.

實作

ISnapshotGenerationAgent. . :: . .PublisherLogin

備註

盡可能使用 Windows 驗證。

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