IExecutionContextFactory.CreateExecuteAsUser 메서드

Creates an IExecutionContext object that represents the EXECUTE AS USER execution context.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

IExecutionContext CreateExecuteAsUser(
	IUser user
)

매개 변수

user
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IUser
The IUser object that represents a user name.

반환 값

유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IExecutionContext
An IExecutionContext object that represents the EXECUTE AS USER execution context.

커뮤니티 추가 항목

추가
표시: