Condividi tramite


PublisherPassword Property (Replication ActiveX)

The PublisherPassword property sets or returns the login password used when connecting to the Publisher.

ms147369.security(it-it,SQL.90).gifNota sulla protezione:
When possible, prompt users to enter their credentials at run time. Avoid hard-coding or storing credentials in a file. If credentials must be persisted between runs, encrypt them using the Win32 CryptoAPI functions. For more information, see this Microsoft Web site.

Sintassi

object.PublisherPassword [= value]
Part Description

object

Expression that evaluates to an object in the Applies To list.

value

Password used to connect to the Publisher.

Applies To

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

Osservazioni

This is a required property if PublisherSecurityMode Property (Replication ActiveX) is set to DB_AUTHENTICATION.

This property is ignored if PublisherSecurityMode Property (Replication ActiveX) is set to NT_AUTHENTICATION.

Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_PublisherPassword(BSTR *pVal);
HRESULT put_PublisherPassword (BSTR newVal);

Vedere anche

Riferimento

PublisherLogin Property (Replication ActiveX)

Guida in linea e informazioni

Assistenza su SQL Server 2005