READ Free Dumps For Microsoft- 70-489
Question ID 22611 | You need to implement connection management for catalog connections.
Which method should you use? (Each correct answer presents part of the solution. Choose all that apply)
|
Option A | public void UpdateCatalogConnection( CatalogConnectionSettings cataloglnfo)
|
Option B | public void OnPublishCatalog(string catalogPath)
|
Option C | public void DeleteCatalogConnection(string catalogPath)
|
Option D | public void SetCatalogConnection(string catalogPath, boot disconnect)
|
Correct Answer | A,C |
Explanation CatalogConnectionManager class manages catalog connections that are used in a site collection. CatalogConnectionManager.UpdateCatalogConnection method updates the catalog that is currently connected to the site that is specified in the constructor. public void UpdateCatalogConnection(CatalogConnectionSettings catalogInfo) CatalogConnectionManager.DeleteCatalogConnection method removes a catalog connection and the associated search result source from the site specified in the constructor. public void DeleteCatalogConnection(string catalogPath) CatalogConnectionSettings class stores configuration information for the PublishingCatalogUtility object that is connected to a SPSite object. http://msdn.microsoft.com/en-US/library/microsoft.sharepoint.publishing.catalogconnectionmanager.aspx http://msdn.microsoft.com/library/microsoft.sharepoint.publishing.catalogconnectionsettings.aspx http://msdn.microsoft.com/en-US/library/microsoft.sharepoint.publishing.publishingcatalogutility_members.aspx From scenario: You must create a custom tool that site collection administrators use to manage catalog connections. You must define the API calls to remove (C) or update (A) existing catalog connections.
Question ID 22612 | You need to implement the social features.
How should you complete the relevant code?
(To answer, select the appropriate option from the dropdown list in the answer area)
Hot Area:
|
Option B | Correct Answer:
|
Correct Answer | A |
Explanation