忍者ブログ

erinexam

[PR]

×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

Microsoft 70-573 training material

Check the percentage of previous results, and to ensure that their training is successful. Although by study 70-573 exam depends entirely on your efforts renowned training institutions for their training methods are very confidence you do not pass the examimmediately refund guarantee. Of course, to check whether they have the latest reference materials, which will also help your exam. You can also join the organization of like-minded people and chat forum to share their experiences. Read reviews of websites can give you a clear understanding about their services.


QUESTION 1
You have a helper method named CreateSiteColumn that contains the following code segment.
private static void CreateSiteColumn(SPWeb web, string columnName)
{
???
}
You need to add a new site column of type Choice to a SharePoint site by using the helper method. Which
code segment should you include in the helper method?


A. SPField field = new SPFieldChoice(System.web.Lists(0).Fields, columnName);
B. web.Fields.Add(columnName, SPFieldType.Choice, true);
C. web.Lists(0).Fields.Add(columnName, SPFieldType.Choice, True);
D. web.Lists(0).Views(0).ViewFields.Add(columnName);


Answer: B




QUESTION 2
You have a Web application that contains the following code segment.
private void CreatingSPSite()
{
SPSite siteCollection = null;
try
{
siteCollection = new SPSite("http://contoso.com");
}
finally
{
}
}
You need to prevent the code segment from causing a memory leak.
Which code segment should you add?


A. if (siteCollection != null)
{
siteCollection.Close();
}
B. if (siteCollection != null)
{
siteCollection.Dispose();
}
C. siteCollection = null;
D. siteCollection.WriteLocked = false;


Answer: B
PR

この記事へのコメント

Vodafone絵文字 i-mode絵文字 Ezweb絵文字
管理人のみ閲覧できます
 

カレンダー

04 2025/05 06
S M T W T F S
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

フリーエリア

最新コメント

プロフィール

HN:
No Name Ninja
性別:
非公開

バーコード

ブログ内検索

P R

Copyright ©  -- erinexam --  All Rights Reserved

Design by CriCri / Photo by momo111 / powered by NINJA TOOLS / 忍者ブログ / [PR]