SubscriberLogin Property
后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。
The SubscriberLogin property identifies a Microsoft SQL Server login record used by the referenced replication component when a connection to an instance of SQL Server is required.
语法
object
.SubscriberLogin= value
Parts
object
An expression that evaluates to an object in the Applies To listvalue
A string that identifies a login on the Distributor
Data Type
String
Modifiable
Write-only
Prototype (C/C++)
HRESULT SetSubscriberLogin(SQLDMO_LPCSTR NewValue);
注释
The SubscriberLogin property is evaluated only when the SQL Distributed Management Objects (SQL-DMO) object indicates that SQL Server Authentication is used by the referenced replication component. Use the SubscriberSecurityMode property of the SQL-DMO object to direct authentication mode selection.