SubscriberSecurityMode Property (SQL-DMO)

The SubscriberSecurityMode property is used to configure the authentication mode used for connections originated by the agent implementing a Subscriber-initiated subscription.

Applies To
MergePullSubscription Object TransPullSubscription Object

Syntax

object.SubscriberSecurityMode = value

Part Description
object Expression that evaluates to an object in the Applies To list
value Long integer or constant value as described in Settings

Settings
Constant Value Description
SQLDMOSecurity_Integrated 1 Use Windows NT Authentication. Windows NT account used by the SQL Server Agent service provides a network username for authentication.
SQLDMOSecurity_Normal 0 Use SQL Server Authentication. Login and password are specified by using the SubscriberLogin and SubscriberPassword properties.

Data Type

Long, enumerated

Modifiable

Write-only

Prototype (C/C++)

HRESULT SetSubscriberSecurityMode(
SQLDMO_SECURITY_TYPE NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.