Microsoft TS: Office SharePoint Server, Application Development (available in 2010) - 70-573무료 덤프문제 풀어보기
You create a custom workflow by using Microsoft Visual Studio 2010.
You need to specify a custom InfoPath workflow initiation form in the workflow element manifest file.
Which attribute should you configure?
You need to specify a custom InfoPath workflow initiation form in the workflow element manifest file.
Which attribute should you configure?
정답: C
설명: (Fast2test 회원만 볼 수 있음)
You create a custom workflow action named WF1 that copies the content of a document library to another document library.
WF1 is used in a Microsoft SharePoint Designer reusable workflow. You need to ensure that the workflow action is deployed as a sandboxed solution.
Where should you define the workflow action?
WF1 is used in a Microsoft SharePoint Designer reusable workflow. You need to ensure that the workflow action is deployed as a sandboxed solution.
Where should you define the workflow action?
정답: B
설명: (Fast2test 회원만 볼 수 있음)
You plan to develop a Web Part that displays a SharePoint list.
The Web Part will verify the list permissions when users access by using the web.CurrentUser.DoesUserHavePermissions method.
You need to ensure that when users do not have permissions to the list, the Web Part displays the company's logo.
Which code segment should you add to the Web Part?
The Web Part will verify the list permissions when users access by using the web.CurrentUser.DoesUserHavePermissions method.
You need to ensure that when users do not have permissions to the list, the Web Part displays the company's logo.
Which code segment should you add to the Web Part?
정답: C
설명: (Fast2test 회원만 볼 수 있음)
You have a document library named Documents. Minor and major version management is enabled for the document library.
You plan to add a document named MyFile.docx to Documents.
You create a console application that contains the following code segment. (Line numbers are included for reference only.)
01 using (SPSite site = new SPSite("http://intranet"))
02 {
03 SPList documents = site.RootWeb.Lists["Documents"];
04 FileStream fstream = File.OpenRead(@"MyFile.docx");
05 byte[] content = new byte[fstream.Length];
06 fstream.Read(content, 0, (int)fstream.Length);
07 fstream.Close();
08 site.RootWeb.Files.Add(documents.RootFolder.Url + "/MyFile.docx", content,
true);
09 SPFile file = site.RootWeb.GetFile(documents.RootFolder.Url + "/
MyFile.docx");
10 file.CheckIn(string.Empty);
11
12 }
You need to ensure that all users can see the document.
Which code segment should you add at line 11?
You plan to add a document named MyFile.docx to Documents.
You create a console application that contains the following code segment. (Line numbers are included for reference only.)
01 using (SPSite site = new SPSite("http://intranet"))
02 {
03 SPList documents = site.RootWeb.Lists["Documents"];
04 FileStream fstream = File.OpenRead(@"MyFile.docx");
05 byte[] content = new byte[fstream.Length];
06 fstream.Read(content, 0, (int)fstream.Length);
07 fstream.Close();
08 site.RootWeb.Files.Add(documents.RootFolder.Url + "/MyFile.docx", content,
true);
09 SPFile file = site.RootWeb.GetFile(documents.RootFolder.Url + "/
MyFile.docx");
10 file.CheckIn(string.Empty);
11
12 }
You need to ensure that all users can see the document.
Which code segment should you add at line 11?
정답: B
설명: (Fast2test 회원만 볼 수 있음)
You need to create a custom Web Part that meets the following requirements:
Includes all of the functionalities of the Search Results Web Part
Includes additional filters based on the current user department What should you do?
Includes all of the functionalities of the Search Results Web Part
Includes additional filters based on the current user department What should you do?
정답: C
설명: (Fast2test 회원만 볼 수 있음)
You need to programmatically add a user named User1 to a group named Group1.
You write the following code segment. (Line numbers are included for reference only.)
01 string login = "User1";
02 string grpName = "Group1";
03 SPUser user = SPContext.Current.Web.EnsureUser(login);
04 SPGroup group = SPContext.Current.Web.Groups[grpName];
05
06 group.Update();
Which code segment should you add at line 05?
You write the following code segment. (Line numbers are included for reference only.)
01 string login = "User1";
02 string grpName = "Group1";
03 SPUser user = SPContext.Current.Web.EnsureUser(login);
04 SPGroup group = SPContext.Current.Web.Groups[grpName];
05
06 group.Update();
Which code segment should you add at line 05?
정답: C
설명: (Fast2test 회원만 볼 수 있음)