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

You are creating an XML Web service named myService. This service has a function named WriteMessage that writes messages to a flat file in the C:MyLogsmyServiceLog directory.You want to implement security for WriteMessage so that WriteMessage and all the code it calls can write messages only to the myServiceLog directory.Which code segment should you use?

2021-12-25

A.Dim filePermission As New FilelOPermission _(FilelOPermissionAccess.Write, "C:XmyServiceLog") filePermission.Demand()

B.Dim filePermission As New FilelOPermission(FilelOPermissionAccess.Write, "C:XmyServiceLog") filePermission.Deny()

C.Dim filePermission As New FilelOPermission _(FilelOPermissionAccess.Write, "C:XmyServiceLog") filePermission.PermitOnly()

D.Dim filePermission As New FilelOPermission __(FilelOPermissionAccess.Write, "C:myServiceLog") filePermission.Assert()

题目答案

试卷相关题目

最新试卷
热门试卷

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

去 App Store 免费下载 iOS 客户端