TransSynchronizationAgent.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 (在 Microsoft.SqlServer.Replication.dll 中)
語法
'宣告
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
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.