DropLogins Property (SQL-DMO)

The DropLogins property controls cascaded deletion of dependent linked server login records when a persisted OLE DB data source definition is deleted.

Applies To

LinkedServer Object

Syntax

object.DropLogins [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

Remarks

When True, login mappings defined for the linked server are deleted when the linked server record itself is deleted.

When False, deleting the linked server does not affect login mappings for the server.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetDropLogins(LPBOOL pRetVal);

HRESULT SetDropLogins(BOOL NewValue);

  


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