ReassignLoginTasks Method

SQLServer.Executive Object

Description

Reassigns all tasks currently owned by the specified login to a new login.

Visual Basic

Executive.ReassignLoginTasks (
[OldLogin :=] idOldLogin,
[NewLogin :=] idNewLogin )

C++

HRESULT pExecutive->ReassignLoginTasks (
SQLOLE_LPCSTR
idOldLogin,
SQLOLE_LPCSTR
idNewLogin );

Elements

Element Type Description

idOldLogin Identifier Login of current owner
idNewLogin Identifier Login of new owner