IExecutionContextFactory.CreateExecuteAsLogin(ILogin) IExecutionContextFactory.CreateExecuteAsLogin(ILogin) IExecutionContextFactory.CreateExecuteAsLogin(ILogin) Method

정의

EXECUTE AS LOGIN 실행 컨텍스트를 나타내는 IExecutionContext 개체를 만듭니다. Creates an IExecutionContext object that represents the EXECUTE AS LOGIN execution context.

public:
 Microsoft::SqlServer::Management::SqlParser::Metadata::IExecutionContext ^ CreateExecuteAsLogin(Microsoft::SqlServer::Management::SqlParser::Metadata::ILogin ^ login);
public Microsoft.SqlServer.Management.SqlParser.Metadata.IExecutionContext CreateExecuteAsLogin (Microsoft.SqlServer.Management.SqlParser.Metadata.ILogin login);
Public Function CreateExecuteAsLogin (login As ILogin) As IExecutionContext
매개 변수
login
ILogin ILogin ILogin

SQL Server 로그인을 나타내는 ILogin 개체입니다. The ILogin object that represents a SQL Server login.

반환

EXECUTE AS LOGIN 실행 컨텍스트를 나타내는 IExecutionContext 개체입니다. An IExecutionContext object that represents the EXECUTE AS LOGIN execution context.

적용 대상