次の方法で共有


SubscriberSecurityMode Property

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

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

構文

object
.SubscriberSecurityMode=value 

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A long integer or constant value as described in Settings.

Data Type

Long, enumerated

Modifiable

Write-only

Prototype (C/C++)

HRESULT SetSubscriberSecurityMode(SQLDMO_SECURITY_TYPE NewValue);

Settings

Set value using these SQLDMO_SECURITY_TYPE values.

Constant Value Description

SQLDMOSecurity_Integrated

1

Allows Windows Authentication only.

SQLDMOSecurity_Mixed

2

Allows Windows Authentication or SQL Server Authentication.

SQLDMOSecurity_Normal

0

Allows SQL Server Authentication only.

SQLDMOSecurity_Unknown

9

The security type cannot be determined.

Applies To:

MergePullSubscription Object

TransPullSubscription Object