Nota
L'accés a aquesta pàgina requereix autorització. Podeu provar d'iniciar la sessió o de canviar els directoris.
L'accés a aquesta pàgina requereix autorització. Podeu provar de canviar els directoris.
Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.
The SetUpDistributorPassword method changes the password for the distributor_admin login.
Sintaxis
object
.SetUpDistributorPassword(
bstrName
)
Parts
- object
Expression that evaluates to an object in the Applies To list.
- bstrName
String that specifies a Microsoft SQL Server password.
Prototype (C/C++)
HRESULT SetUpDistributorPassword(SQLDMO_LPCSTR pszPassword);
Notas
The distributor_admin login is used by a publisher, including a local publisher, when connecting to a distributor. For more information about the distributor_admin login, see Connecting to the Distributor.
Changing a Distributor password using the SetUpDistributorPassword method requires appropriate permissions. The SQL Server login used for SQLServer object connection must be a member of the fixed role sysadmin on the Publisher.