微软MCAD 70-310 实战百题
题目内容

You are creating a .NET Remoting object named Dealer for automobile dealership. Dealer exposes a method named SaveSales that saves sales information for the dealership.Dealer is configured to use Integrated Windows authentication to authenticate its callers . You musL ensure that all users of SaveSales are members of the Manager group before allowing the code within SaveSales to run.Which code segment should you use?

2021-12-25

A.Public Function SaveSales(ByVal _ sales As DataSet) As DataSet 'Code to save sales data goes here.End Function

B.Public Function SaveSales(ByVal _ sales As DataSet) As DataSet 1 Code to save sales data goes here.End Function

C.〈PrincipalPermission(SecurityAction.InheritanceDemand, Role="Manager")>Public Function SaveSales (ByVal __ sales As DataSet) As DataSet 'Code to save sales data goes here.End Function

D.Public Function SaveSales(ByVal _ sales As DataSet) As DataSet Dim role As String = "Manager"PrincipalPermission perm = NewPrincipalPermission(Nothing, role)'Code to save sales data goes her

E.End Function

题目答案

试卷相关题目

最新试卷
热门试卷

长理培训客户端 资讯,试题,视频一手掌握

去 App Store 免费下载 iOS 客户端