VisualExams 70-542VB study guide

October 2, 2009 · Posted in Microsoft 

Microsoft 70-542VB study guide

MS Office SharePoint Server 2007.Application Development study guide

Preparing for a
Exchange Server 2007
qualification is not an easy task as it requires discipline and a proper study guide. One of the best ways to fully make use of your study time is use the
Exchange Server 2007
70-542VB study guide. This guide includes
Exchange Server 2007
70-542VB practice test, which will enable you to know what to expect when you are ready to sit for the test.

Download a Free Microsoft 70-542VB Demo today from the list below and Microsoft why IT professionals worldwide rank VisualExams cert prep training products

Try it:
VisualExams 70-542VB PDF demo

VisualExams is dedicated to heMicrosoftng IT professionals strengthen technical job skills and prepare them for tough certification examinations by developing the highest quality learning and exam preparation products

VisualExams 70-542VB Cert Braindumps

Computer professionals throughout the world have used VisualExams 70-542VB Practice Exam Software products to prepare for Microsoft certification exams. The numerous industry-best awards our products have won are a reflection of our commitment to product quality and outstanding customer service. See our complete list of awards here. VisualExamsCertTM exams are known as the most comprehensive and realistic available,
If you want to take Microsoft 70-542VB exam,
Free Download:www.VisualExams.com
Be confident you will pass 70-542VB with VisualExams’s. Pass-the-First-Time Guarantee.

Why choose visualexams 70-542VB Exam
Quality and Value for the 70-542VB Exam
100% Guarantee to Pass Your 70-542VB Exam
Downloadable, Interactive 70-542VB Testing engines
Verified Answers Researched by Industry Experts
Drag and Drop questions as experienced in the Actual Exams
Practice Test Questions accompanied by exhibits
Our 70-542VB Dumps are backed by our 100% MONEY BACK GUARANTEE.

visualexams Exam Help you pass 70-542VB Exam and obtain the Microsoft
Exchange Server 2007
Certification.

Free 70-542VB study guide
 
 
Exam : Microsoft 70-542VB
Title : MS Office SharePoint Server 2007.Application Development

1. You create a Microsoft Office InfoPath workflow task form for users. The form contains all the details of each task.
You need to store the value of the Comments field in a variable named UserInput when each user submits the form.
Which code segment should you use?
A. Dim UserInput As String = New String
Dim wpTProps As SPWorkflowTaskProperties = New _
SPWorkflowTaskProperties

UserInput = wpTProps.ExtendedProperties("Comments").ToString
B. Private wpAProps As SPWorkflowActivationProperties = New _
SPWorkflowActivationProperties

Private UserInput As Object = wpAProps.Item.Fields("Comments")
C. Private wpAProps As SPWorkflowActivationProperties = New _
SPWorkflowActivationProperties
Private serializer As XmlSerializer = New _
XMLSerializer(GetType(MyFields))
Private reader As xmlTextReader = New XMLTextReader(New _
System.IO.StringReader(wpAProps.InitiationData))
Private fields As MyFields = serializer.Deserialize(reader)
Private UserInput As String = fields.Users(i).Comments
D. Private serializer As XmlSerializer = New _
XmlSerializer(GetType(InitForm))
Private reader As XmlTextReader = New XmlTextReader(New _
System.IO.StringReader(workflowProps.InitiationData))
Private initform As InitForm = _
CType(serializer.Deserialize(reader), InitForm)
Private UserInput As String = initform.comments
Answer: A

2. You create an application for a Microsoft Office SharePoint Server 2007 server.
You need to write code that retrieves all users for an audience named Audience1.
Which code segment should you use?
A. Private audMgr As AudienceManager = New AudienceManager()
Private audiences As AudienceCollection = audMgr.Audiences
Private audience1 As Audience = audiences("Audience1")
B. Private audMgr As AudienceManager = New AudienceManager()
Private membershipList As ArrayList = _
audMgr.Audiences("Audience1").GetMembership()
C. Private audMgr As AudienceManager = New AudienceManager()
Private audience1 As AudienceCollection = _
audMgr.Audiences
D. Private site As SPSite = New _
SPSite("http: //servername//sites/site1")
Private context As ServerContext = _
ServerContext.GetContext(site)
Private audMgr As AudienceManager = _
New AudienceManager(context)
Private web As SPWeb = site.AllWebs(0)
Private audienceIDNames As ArrayList = _
audMgr.GetUserAudienceIDs("Audience1", True, web)
Answer: B

3. You are creating a Microsoft Office SharePoint Server 2007 application that uses the Search service.
You need to ensure that the search results are based on an existing keyword.
Which code segment should you use?
A. Private Sub keywordQueryExecute(ByVal strQueryText As String)

Dim kRequest As KeywordQuery = New _
KeywordQuery(ServerContext.Current)
kRequest.QueryText = strQueryText
kRequest.ResultTypes = kRequest.ResultTypes Or _
(ResultType.RelevantResults)
Dim resultTbls As ResultTableCollection = kRequest.Execute

End Sub
B. Private Sub keywordQueryExecute(ByVal strQueryText As String)

Dim kRequest As KeywordQuery = New _
KeywordQuery(ServerContext.Current)
kRequest.QueryText = "SELECT * FROM scope() _
WHERE keyword = " + strQueryText
kRequest.ResultTypes = kRequest.ResultTypes Or _
(ResultType.RelevantResults)
Dim resultTbls As ResultTableCollection = kRequest.Execute

End Sub
C. Private Sub keywordQueryExecute(ByVal strQueryText As String)
‘…
Dim kRequest As KeywordQuery = New _
KeywordQuery(ServerContext.Current)
kRequest.QueryText = "SELECT * FROM scope(" + strQueryText + ")"
kRequest.ResultTypes = kRequest.ResultTypes Or _
(ResultType.RelevantResults)
Dim resultTbls As ResultTableCollection = kRequest.Execute

End Sub
D. Private Sub keywordQueryExecute(ByVal strQueryText As String)

Dim kRequest As KeywordQuery = New _
KeywordQuery(ServerContext.Current)
kRequest.QueryText = "SELECT " + strQueryText + " FROM scope()"
kRequest.ResultTypes = kRequest.ResultTypes Or _
(ResultType.RelevantResults)
Dim resultTbls As ResultTableCollection = kRequest.Execute

End Sub
Answer: A

4. You are creating a Microsoft Office SharePoint Server 2007 Web Part.
You write the following code segment. (Line numbers are included for reference only.)
01 Public cmdCrawl As Button
02
03 Protected Overloads Overrides Sub CreateChildControls()
04 cmdCrawl = New Button
05 AddHandler cmdCrawl.Click, AddressOf cmdCrawl_Click
06 cmdCrawl.Text = "Update Index"
07 Controls.Add(cmdCrawl)
08 End Sub
09
10 Public Sub cmdCrawl_Click(ByVal sender As Object, ByVal e As EventArgs)
11 Dim sspContent As Microsoft.Office.Server.Search.Administration.Content = New12
13 Microsoft.Office.Server.Search.Administration.Content(SearchContext.Current)
14 …
15 End Sub
You need to ensure that the Web Part initiates a search crawl of a ContentSource named Patents.
Which code segment should you insert at line 14?
A. Dim sspContentSources As ContentSourceCollection = _
sspContent.ContentSources
Dim cs As ContentSource = sspContentSources("Patents")
cs.StartFullCrawl
B. Dim sspContentSources As ContentSourceCollection = _
sspContent.ContentSources
Dim TargetScope As Uri = New _
Uri("http: //myportal/SearchCenter/Search.aspx?Scope=Patents")
sspContentSources.Update(TargetScope)
C. Dim sspContentSources As ContentSourceCollection = _
sspContent.ContentSources
Dim crawlmappings As CrawlMappingCollection = _
sspContentSources.Parent.CrawlMappings
Dim ResultsPage As Uri = New Uri(Me.Context.ToString)
Dim TargetScope As Uri = New _
Uri("http: //myportal/SearchCenter/Search.aspx?Scope=Patents")
crawlmappings.Create(ResultsPage, TargetScope)
D. Dim sspContentSources As ContentSourceCollection = _
sspContent.ContentSources
Dim cs As ContentSource = sspContentSources("Patents")
cs.Update
Answer: A

5. You are creating a Microsoft Office SharePoint Server 2007 application to increase the search capability of five site collections that belong to a single farm.
You need to retrieve all available search contexts for the Web site collection on which the application is initiated.
Which code segment should you use?
A. Dim strSite As String = "http: //yourSiteName"
Dim srchContext As SearchContext = SearchContext.GetContext(New _
SPSite(strSite))
B. Dim srchContext As SearchContext = _
SearchContext.GetContext(ServerContext.Current)
C. Private searchservice As SearchService = New _
SearchService("Search_SSPS Name", SPFarm.Local)
Private srchContext As SearchContext = _
SearchContext.GetContext(searchservice.Id.ToString)
D. Dim searchWebService As WASearchWebService1.SPSSearchWS._
QueryService = New WASearchWebService1.SPSSearchWS.QueryService()
searchWebService.Url = "http: //myportal"
Dim srchContext As SearchContext = SearchContext.GetContext(New _
SPSite(searchWebService.ToString()))
Answer: B

The Most Popular Posts

Comments

Comments are closed.