70-542VB Exam

MS Office SharePoint Server 2007.Application Development

  • Exam Number/Code : 70-542VB
  • Exam Name : MS Office SharePoint Server 2007.Application Development
  • Questions and Answers : 122 Q&As
  • Update Time: 2011-10-24
  • Testing Engine (SoftWare Version): $ 50.00
  • PDF (Printable Version) Price: $15.00
  •  

Note: After purchase, we will send questions within 24 hours.

Free 70-542VB Demo Download

Examsoon offers free demo for Exchange Server 2007 70-542VB exam (MS Office SharePoint Server 2007.Application Development). You can check out the interface, question quality and usability of our practice exams before you decide to buy it. We are the only one site can offer demo for almost all products.

Download 70-542VB PDF Demo

Download 70-542VB ExamTesting Engine

 

Exam 70-542VB Preparation from Examsoon include:

After you purchase our product, we will offer free update in time for 90 days.
100% Pass Guaranteed at First Attempt Or Free Update
Immediate Download After Purchase
Comprehensive questions with complete details
Questions accompanied by exhibits
Verified Answers Researched by Industry Experts
Drag and Drop questions as experienced in the Examsoon
Questions updated on regular basis
our product is in multiple-choice questions (MCQs)


Passing the Microsoft 70-542VB Exam:Passing the 70-542VB exam has never been faster or easier, now with the questions and answers, without the messy 70-542VB exam that are frequently incorrect. Examsoon Unlimited Access Exams are not only the cheaper way to pass without resorting to 70-542VB tests, but at only $ 50.00 you get access to the exam from every certification vendor.


Our 70-542VB practice exams and study questions are composed by current and active Information Technology experts, who use their experience in preparing you for your future in IT.


Microsoft 70-542VB Search Help Feel free to use search terms below while searching the Net for 70-542VB exam:

70-542VB brain dump simulations
70-542VB Test question
70-542VB braindump work
70-542VB master exams
70-542VB braindump model
70-542VB latest test


Commitment to Your Success:

At Examsoon we are committed to you ongoing success. Our exams are constantly being updated and compared to industry standards.


You are not about to purchase a disposable product. 70-542VB exam updates are supplied free of charge. Regardless of how soon you decide to take the 70-542VB examination certification, you will be able to walk into the testing room as confident as the Certification Administrator.


Skip all the worthless 70-542VB tutorials and download 70-542VB exam materials with questions and answers and a price too unbelievable to pass up. Act now and download it today!

http://www.Examsoon.com The safer.easier way to get Exchange Server 2007 Certification.
 
 
Exam : Microsoft 70-542VB
Title : MS Office SharePoint Server 2007.Application Development


1. 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

2. 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

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 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

5. 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

Feedbacks

Last week, I've got the 70-542VB  certification, thank you! Examsoon is a good website.

Elizabeth - 2009-12-18 15:32:34