다음을 통해 공유


DistributorLogin 속성

Gets or sets the login name that is used when connecting to the Distributor by using SQL Server Authentication.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Replication.dll의 Microsoft.SqlServer.Replication

구문

‘선언
Public Overridable Property DistributorLogin As String
    Get
    Set
‘사용 방법
Dim instance As TransSynchronizationAgent
Dim value As String

value = instance.DistributorLogin

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

속성 값

형식: System. . :: . .String
A String value that is the login name.

구현

ITransSynchronizationAgent. . :: . .DistributorLogin

주의

가능하면 Windows 인증을 사용하십시오.

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

For a push subscription, the Distribution Agent always connects to the Distributor locally by using Windows Integrated Authentication, and this property is ignored.