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.