Share via


IExecutionContext.Login Property

Gets the SQL Server login that can be used in an EXECUTE AS clause.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property Login As ILogin
    Get
'Usage
Dim instance As IExecutionContext
Dim value As ILogin

value = instance.Login
ILogin Login { get; }
property ILogin^ Login {
    ILogin^ get ();
}
abstract Login : ILogin
function get Login () : ILogin

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ILogin
The ILogin object that represents the SQL Server login.