RevokePublicationAccess Method
Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.
The RevokePublicationAccess method removes the specified login from the publication access list.
구문
object.RevokePublicationAccess(szLoginName)
Parts
object
Expression that evaluates to an object in the Applies To list.szLoginName
String that names a Microsoft SQL Server login existing on the Publisher.
Prototype (C/C++)
HRESULT RevokePublicationAccess(SQLDMO_LPCSTR szLoginName);
주의
Revoking permission from a login by using the RevokePublicationAccess method of the MergePublication or TransPublication object requires appropriate permission. The SQL Server login used for SQLServer object connection must be a member of the system-defined role db_owner in the database published, or a member of a role with greater privilege.