Upload
hanguyet
View
229
Download
1
Embed Size (px)
Citation preview
Appendix
Though this section is an appendix, it has very valuable information and details that will be helpful for you while performing your migration from MOSS 2007 to SharePoint 2010. Again, we are limiting information to only what is important and relevant, rather than providing you with what's already available from TechNet or MSDN. However, we have included external links that you can refer to for more specific and detailed information.
STSADM vs. PowerShell As discussed through out this book, PowerShell is going to lead the way moving forward from SharePoint 2010, and because of its many advantages, we suggest that you understand, learn, practice, and implement PowerShell as much as possible. Though STSADM commands still work, we strongly suggest using of PowerShell, and to help you do so, Table A-1 offers a comparison between STSADM and PowerShell.
Table A-1. STSADM Operations and Their PowerShell Cmdlet Counterparts
STSADM Operation Windows PowerShell Cmdlet
Activatefeature Enable-SPFeature
Activateformtemplate Enable-SPinfoPathFormTemplate
Addalternatedomain New-SPAlternateUrl
Addcontentdb Mount-SPContentDatabase
New-SPContentDatabase
Adddataconnectionfile Install-SPDataConnectionFile
Add-ecsfiletrustedlocation New-SPExcelFilelocation
Add-ecssafedataprovider New-SPExcelDataProvider
153
• APPENDIX
STSADM Operation Windows PowerShell Cmdlet
Add-ecstrusteddataconnectionlibrary New-SPExcelDataConnectionlibrary
Add-ecsuserdefinedfunction New-SPExcelUserDefinedFunction
Addexemptuseragent Add-SPinfoPathUserAgent
Add path New-SPManagedPath
Addpermissionpolicy None
Add solution Add-SPSolution
Addtemplate Install-SPWebTemplate
Add user New-SPUser
Addwppack Install-SPWebPartPack
Addzoneurl New-SPAlternateUrl
Allowuserformwebserviceproxy Set-SPinfoPathWebServiceProxy
Use the AllowForUserForms and Identity parameters.
Allowwebserviceproxy Set-SPinfoPathWebServiceProxy
Use the AllowWebServiceProxy and Identity parameters.
Authentication Set-SPWebApplication
Use the AuthenticationMethod or Authentication Provider parameters.
Backup Backup-SPConfigurationDatabase
Backup-SPFarm
Backup-SPSite
Backuphistory Get-SPBackupHistory
Binddrservice None
Blockedfilelist None
154
• APPENDIX
Canceldeployment None
Changepermissionpolicy None
Copyappbincontent None
Createadminvs New-SPCentralAdministration
Creategroup None
Createsite New-SPSite
Createsiteinnewdb New-SPSite Use the ContentDatabase parameter.
New-SPContentDatabase
Createweb New-SPWeb
Databaserepair None
Deactivatefeature Disable-SPFeature
Deactivateformtemplate Disable-SPinfoPathFormTemplate
Deleteadminvs None
Deletealternatedomain Remove-SPAlternateUrl
Deleteconfigdb Remove-SPConfigurationDatabase
Deletecontentdb Dismount-SPContentDatabase
Deletegroup None
Deletepath Remove-SPManagedPath
Deletepermissionpolicy None
Deletesite Remove-SPSite
Deletesolution Remove-SPSolution
Deletetemplate Uninstall-SPWebTemplate
155
• APPENDilll
STSADM Operation Windows PowerShell Cmdlet
Deleteuser Remove-SPUser
Deleteweb Remove-SPWeb
Deletewppack Uninstall-SPWebPartPack
Deletezoneurl Remove-SPAlternateUrl
Deploysolution Install-SPSolution
Deploywppack Install-SPWebPartPack
Disablessc None
Displaysolution Get-SPSolution
Editcontentdeploymentpath Set-SPContentDeploymentPath
Email None
Enablessc None
Enumalternatedomains Get-SPAlternateURL
Enumcontentdbs Get-SPContentDatabase
Enumdataconnectionfiledependants Get-SPDataConnectionFileDependent
Enumdataconnectionfiles Get-SPDataConnectionFile
Enumdeployments None
Enumexemptuseragents Get-SPinfoPathUserAgent
Enumformtemplates Get-SPinfoPathFormTemplate
Enumgroups None
Enumroles None
Enumservices Get-SPServicelnstance
156
• APPENDIX
Enumsites Get-SPSiteAdministration (To run this cmdlet, you must be a member of the Farm Administrators group.)
Get-SPSite (To run this cmdlet, you must be a local administrator on the computer where SharePoint 2010 Products is installed.)
Enumsolutions Get-SPSolution
Enumsubwebs Get-SPWeb
Enumtemplates Get-SPWebTemplate
Enumusers Get-SPUser
Enumwppacks Get-SPWebPartPack
Enumzoneurls Get-SPAlternateURL
Execadmsvcjobs Start-SPAdminJob
Export Export-SPWeb
Extendvs New-SPWebApplication
Extendvsinwebfarm New-SPWebApplicationExtension
Forcedeletelist None
Getadminport Get-SPWebApplication
Use the following syntax: Get-SPWebApplication -IncludeCentralAdministration I ? {$_.IsAdministrationWebApplication -eq $true}
Getdataconnectionfileproperty property Get-SPDataConnectionFile
Use the following syntax: Get-SPDataConnectionFile I where {$_.Name -eq "dataConFileName"} I format-list
157
• APPENDIX
STSADM Operation Windows PowerShell Cmdlet
Getformtemplateproperty property Get-SPinfoPathFormTemplate
Use the following syntax: Get-SPinfoPathFormTemplate I where {$_.DisplayName -eq "formTemplateName"} I format-list
Getosearchsetting None
Get property Get-SPFarmConfig
Get-SPTimerJob
Disable-SPTimerJob
Enable-SPTimerJob
Set-SPTimerJob
Start-SPTimerJob
Getsitelock Get-SPSiteAdministration
Getsiteuseraccountdirectorypath None
Geturlzone Get-SPAlternateURL
Import Import-SPWeb
Install feature Install-SPFeature
Listlogginglevels Get-SPLoglevel
Listqueryprocessoroptions None
Listregisteredsecuritytrimmers Get-SPEnterpriseSearchSecurityTrimmer
Localupgradestatus None
158
• APPENDIX
Managepermissionpolicylevel None
Mergecontentdbs Move-SPSite
Migrateuser Move-SPUser
Osearch For the Osearch parameters farmcontactemail, farmperformancelevel,farmserviceaccount,and farmservicepassword, use the Get-SPEnterpriseSearchService and Set-SPEnterpriseSearchService cmdlets.
For the Osearch parameters start and stop, use the Start-SPEnterpriseSearchServicelnstance and Stop-SPEnterpriseSearchServicelnstance cmdlets, respectively.
For the Osearch parameter defaultindexlocation, use the Get-SPEnterpriseSearchServicelnstance and Set-SPEnterpriseSearchServicelnstance cmdlets.
Osearchdiacriticsensitive Use the Get-SPEnterpriseSearchServiceApplication cmdlet to retrieve the specific search service application, and then use DiacriticSensitive parameter from the Set-SPEnterpriseSearchServiceApplication cmdlet.
Provision service Start-SPServicelnstance
Quiescefarm None
Quiescefarmstatus None
Quiesceformtemplate Stop-SPinfoPathFormTemplate
Reconvertallformtemplates Update-SPinfoPathFormTemplate
Refreshdms None
Refreshsitedms None
Registersecuritytrimmer New-SPEnterpriseSearchSecurityTrimmer
Registerwsswriter None
Removedataconnectionfile Uninstall-SPDataConnectionFile
Remove-ecsfiletrustedlocation Remove-SPExcelFilelocation
159
• APPENDIX
STSADM Operation Windows PowerShell Cmdlet
Remove-ecssafedataprovider Remove-SPExcelDataProvider
Remove-ecstrusteddataconnectionlibrary Remove-SPExcelDataConnectionlibrary
Remove-ecsuserdefinedfunction Remove-SPExcelFilelocation
Removedrservice None
Removeexemptuseragent Remove-SPinfoPathUserAgent
Removeformtemplate Uninstall-SPinfoPathFormTemplate
Removesolutiondeploymentlock None
Renameserver Rename-SPServer
Renamesite Set-SPSite Use the Url parameter.
Renameweb Set-SPWeb
Use the RelativeUrl parameter.
Restore Restore-SPFarm
Restore-SPSite
Retract solution Uninstall-SPSolution
Retractwppack None
Runcontentdeploymentjob Start-SPContentDeploymentJob
Scanforfeatures Install-SPFeature
Use the Scanforfeatures parameter.
Setadminport Set-SPCentralAdministration
Setapppassword None
Setconfigdb Connect-SPConfigurationDatabase
160
• APPENDIX
Setcontentdep1oymentjobschedu1e Set-SPContentDep1oymentJob
Setdataconnectionfi1eproperty Set-SPDataConnectionFi1e
Set-ecsexterna1data Set-SPExce1Fi1eLocation
Set-ecs1oadba1ancing Set-SPExce1ServiceApp1ication
Use the LoadBa1ancingScheme parameter.
Set-ecsmemoryuti1ization Set-SPExce1ServiceApp1ication
Use the MemoryCacheThresho1d and PrivateBytesMax parameters.
Set-ecssecurity Set-SPExce1ServiceApp1ication
Use the CrossDomainAccessAllowed, EncryptedUserConnectionRequired,andFi1eAccessMethod parameters.
Set-ecssessionmanagement Set-SPExce1ServiceApp1ication
Use the SessionsPerUserMax and Si teCollectionAnonymou sSes s ion sMax parameters.
Set-ecsworkbookcache Set-SPExce1ServiceApp1ication
Use the Workbookcache and WorkbookCacheSizeMax parameters.
Setformtemp1ateproperty Set-SPinfoPathFormTemp1ate
Setlogging1eve1 Set-SPLogleve1
Setosearchsetting None
161
• APPENDIX
STSADM Operation Windows PowerShell Cmdlet
Set property Set-SPFarmConfig
Get-SPTimerJob
Disable-SPTimerJob
Enable-SPTimerJob
Set-SPTimerJob
Start-SPTimerJob
Setqueryprocessoroptions None
Setsitelock Set-SPSiteAdministration
Use the LockState parameter.
Setsiteuseraccountdirectorypath Get-SPSiteSubscription
New-SPSiteSubscription
Remove-SPSiteSubscription
Setworkflowconfig Set-SPWorkflowConfig
Siteowner Set-SPSiteAdministration
Syncsolution Install-SPSolution
Use the Synchronize parameter.
Unextendvs Remove-SPWebApplication
162
Uninstallfeature Uninstall-SPFeature
Unquiescefarm None
Unquiesceformtemplate Start-SPinfoPathFormTemplate
Unregistersecuritytrimmer Remove-SPEnterpriseSearchSecurityTrimmer
Unregisterwsswriter None
Updateaccountpassword Set-SPManagedAccount
Updatealerttemplates None
Updatefarmcredentials None
Upgrade None
Upgradeformtemplate Install-SPinfoPathFormTemplate
Upgradesolution Update-SPSolution
Upgradetargetwebapplication None
Uploadformtemplate Install-SPinfoPathFormTemplate
Userrole Get-SPUser
Move-SPUser
New-SPUser
Remove-SPUser
Set-SPUser
Verifyformtemplate Test-SPinfoPathFormTemplate
Content Placeholders This section is for designers who create, design, and implement master pages. In Table A-2, we are providing information about content placeholders-new ones and those that already exist (in MOSS 2007) and are part of the master pages.
• APPENDIX
163
• APPENDIX
Table A-2. Master Page Content Place Holders
Placeholder Description New
<asp:ContentPlaceHolder The top of the Quick Launch menu. Yes id="PlaceHolderQuicklaunchTop" runat="server">
<asp:ContentPlaceHolder The bottom of the Quick Launch menu. Yes id="PlaceHolderQuicklaunchBottom" runat="server">
<asp:ContentPlaceHolder The title of the site. No id="PlaceHolderPageTitle" runat="server"/>
<asp:ContentPlaceHolder A placeholder in the head section of the page used No id="PlaceHolderAdditionalPageHead to add extra components such as ECMAScript " runat="server"/> (JavaScript, JScript) and Cascading Style Sheets
(CSS) to the page.
<asp:ContentPlaceHolder The class of the body area. No id="PlaceHolderBodyAreaClass" runat="server"/>
<asp:ContentPlaceHolder A control used for additional page editing No ID="SPNavigation" runat="server"> controls.
<asp:ContentPlaceHolder The name of the site where the current page No id="PlaceHolderSiteName" resides. runat="server">
<asp:ContentPlaceHolder The title of the page, which appears in the title No id="PlaceHolderPageTitlelnTitleAr area on the page. ea" runat="server" I>
<asp:ContentPlaceHolder The description of the current page. No id="PlaceHolderPageDescription" runat="server"/>
<asp:ContentPlaceHolder The section of the page for the search controls. No id="PlaceHolderSearchArea" runat="server">
<asp:ContentPlaceHolder The breadcrumb control on the page. No id="PlaceHolderGlobalNavigation" runat="server">
164
• APPENDIX
<asp:ContentPlaceHolder The breadcrumb text for the breadcrumb control. No id="PlaceHolderTitleBreadcrumb" runat="server">
<asp:ContentPlaceHolder The list of subsites and sibling sites in the global No id="PlaceHolderGlobalNavigationSi navigation on the page. teMap" runat="server">
<asp:ContentPlaceHolder The container used to hold the top navigation bar. No id="PlaceHolderTopNavBar" runat="server">
<asp:ContentPlaceHolder The navigation menu that is inside the top No id="PlaceHolderHorizontalNav" navigation bar. runat="server">
<asp:ContentPlaceHolder The placement of the data source used to No id="PlaceHolderleftNavBarDataSour populate the left navigation bar. ce" runat="server" I>
<asp:ContentPlaceHolder The date picker used when a calendar is visible on No id="PlaceHolderCalendarNavigator" the page. runat="server" I>
<asp:ContentPlaceHolder The top section of the left navigation bar. No id="PlaceHolderleftNavBarTop" runat="server"l>
<asp:ContentPlaceHolder The Quick Launch bar. No id="PlaceHolderleftNavBar" runat="server">
<asp:ContentPlaceHolder The additional objects above the Quick Launch No id="PlaceHolderleftActions" bar. runat="server">
<asp:ContentPlaceHolder The main content of the page. No id="PlaceHolderMain" runat="server">
<asp:ContentPlaceHolder The container where the page form digest control No id="PlaceHolderFormDigest" is stored. runat="server">
<asp:ContentPlaceHolder The additional content at the bottom of the page, No id="PlaceHolderUtilityContent" outside of the form tag.
165
• APPENDIX
runat="server"/>
Placeholder Description New
<asp:ContentPlaceHolder The class for the title area. This is now in No id="PlaceHolderTitleAreaClass" the head tag. Any custornizations that add a web runat="server"/> part zone in a content tag to this placeholder will
cause an error on the page.
<asp:ContentPlaceHolder Does not appear as part of the UI but must be No id="PlaceHolderPageimage" present for backward compatibility. runat="server"/>
<asp:ContentPlaceHolder Does not appear as part of the UI but must be No id="PlaceHolderTitleLeftBorder" present for backward compatibility. runat="server">
<asp:ContentPlaceHolder Does not appear as part of the UI but must be No id="PlaceHolderMiniConsole" present for backward compatibility. runat="server"/>
<asp:ContentPlaceHolder Does not appear as part of the UI but must be No id="PlaceHolderTitleRightMargin" present for backward compatibility. runat="server"/>
<asp:ContentPlaceHolder Does not appear as part of the UI but must be No id="PlaceHolderTitleAreaSeparator present for backward compatibility. " runat="server"/>
<asp:ContentPlaceHolder Does not appear as part of the UI but must be No id="PlaceHolderNavSpacer" present for backward compatibility. runat="server">
<asp:ContentPlaceHolder Does not appear as part of the UI but must be No id="PlaceHolderLeftNavBarBorder" present for backward compatibility. runat="server">
<asp:ContentPlaceHolder Does not appear as part of the UI but must be No id="PlaceHolderBodyLeftBorder" present for backward compatibility. runat="server">
<asp:ContentPlaceHolder Does not appear as part of the UI but must be No id="PlaceHolderBodyRightMargin" present for backward compatibility. runat="server">
166
• APPENDIX
Team Site Elements and CSS Classes Table A-3 is intended to help designers with some of the changes related to the team sites and relevant CSS classes that you will have to understand and override based on the need in your master pages.
Table A-3. Core V4 CSS Elements and corresponding classes
Element CSS Classes Notes
<body> v4ma5ter Applies CSS styles in corev4.C55 to the page.
Ribbon container 54-pr Makes the Ribbon container the full width of the page row.
54-ribbonrowhidetitle Used to show or hide the ribbon title area when the ribbon is opened or closed.
m5-cui-ribbon Defmes the main ribbon CSS class.
m5-cui-ribbonTopBar5 Defmes the elements above the ribbon body, from the top of the page up to and including the ribbon tab titles.
Site Actions menu m5-5iteaction5menu Sets styles for the Site Actions menu as a whole.
m5-5iteaction5menuinner Sets styles for the inner Site Actions menu.
m5-menu-a Sets the margin-right property on the top menu.
Breadcrumb menu 54-breadcrumb-menu Sets styles for the Breadcrumb menu as a whole.
54-breadcrumb-anchor Sets styles on hover over the Breadcrumb menu.
Breadcrumb menu 54-breadcrumb-top Sets styles on the Breadcrumb header menu top area when the drop-
down tree is open.
54-breadcrumb-header Sets styles on the breadcrumb folder icon when the breadcrumb
167
• APPENDIX
tree drop-down menu is selected.
Breadcrumb menu 54-breadcrumb Sets breadcrumb item styles. items
54-breadcrumbRootNode Sets styles on the breadcrumb team site root tree element.
54-breadcrumbCurrentNode Sets styles on the breadcrumb home tree element.
Edit tab m5-qatbutton Sets styles on the Edit tab.
Browse tab m5-cui-tt5 Sets styles for the container for the tab title.
m5-cui-tt Sets styles for the tab title.
m5-brow5eTab Sets styles specific to the Browse tab.
m5-cui-tt-5 Sets styles for a selected tab title.
m5-cui-tt-a Sets styles for the Ribbon tab title anchor (the link element that makes the table title clickable).
m5-cui-tt-5pan Sets styles for tab title span.
Page tab m5-cui-tt Sets styles for the tab title.
m5-cui-tt-a Sets styles for the Ribbon tab title anchor (the link element that makes the table title clickable).
m5-cui-tt-5pan Sets styles for tab title span.
User menu 54-trc-container-menu Sets styles for the top-right corner container menu.
m5-SPLink Sets styles applied to a menu item.
m5-welcomeMenu Sets the margin-right property on a drop-down menu item.
168
• APPENDIX
Element CSS Classes Notes
ms-menu-a Sets the margin-right property on the top menu.
Title row s4-pr Makes the title row the full width of the page row.
54-title Sets styles on page title elements.
54-lp Sets styles for elements on the left part of the page.
s4-titlelogo Sets margin and alignment on the title logo image.
s4-titletext Sets styles on all text to the right of the page logo graphic.
Search area 54-search Sets padding values on the search control in the secondary menu.
s4-rp Sets styles for elements on the right part of the page.
Quick Launch menu-item Sets styles for the Home button menu items located under the site logo.
menu-item-text Sets styles on the text of the Home button.
Recycle Bin link s4-rcycl Sets styles specific to the Recycle Bin link element.
ms-splinkbutton-text Sets styles on the link element.
All Site Content s4-specialNavlcon Sets styles specific to the All Site link Content link element.
ms-splinkbutton-text Sets styles on the link element.
Shared Documents ms-WPHeaderTd Sets styles on the header section in link the web part.
ms-standardheader Sets standard header styles.
169
• APPENDIX
ms-WPTitle Sets styles on the web part title.
Web Part menu ms-WPHeaderTdMenu Sets styles on the Web Part menu.
ms-WPHeaderMenulmg Sets styles on the Web Part menu image.
Selection check ms-WPHeaderTdSelection Sets styles on the Web Part box selection check box.
ms-WPHeaderTdSelSpan Sets span styles on the Web Part selection check box.
Item selection ms-vh-icon Sets styles on the item selection checkbox check box icon.
ms-vh2 Sets the height property.
Type, Name, ms-vh-div Sets the padding-top property. Modified, and Modified By options
s4-ctx Sets padding, position, and display properties on the drop-down menu.
ms-vh2 Sets the height property.
Shared Documents ms-vb Sets styles on the Shared text Documents control group text area
(bottom of group).
Add document link ms-addnew Sets styles specified to the Add document link.
Photo image ms-rte-layoutszone-outer Rich text editor class that sets the float property on controls of the team site home web part.
ms-rte-layoutszone-inner Rich text editor class that sets styles on content areas of the team site home web part.
ms-rteThemeForeColor-5-5 Rich text editor class that sets the theme foreground color (to dark blue) on the Getting Started wiki
170
• APPENDIX
area.
Element CSS Classes Notes
Getting Started ms-rte-layoutszone-outer Rich text editor class that sets the area float property on controls of the
team site home web part.
ms-rte-layoutszone-inner Rich text editor class that sets styles on content areas of the team site home web part.
ms-rteThemeForeColor-5-5 Rich text editor class that sets the theme foreground color (to dark blue) on the Getting Started wiki area.
Share this site ms-rteTable-O,ms-rteTableEvenRow-0 Rich text editor classes that set
Change site theme ms-rteTableEvenCol-0 styles on the controls under the Getting Started wiki area.
Set site icon ms-rteTableOddCol-0
Customize Quick ms-rteTableOddRow-0 Launch links
MOSS 2007 Deprecated Methods Table A-4lists some of the deprecated methods from TechN et resource; for the full list, see http://blog.srinisistla.com/Lists/Posts/Post.aspx?ID=219.
Table A-4. Deprecated Methods in SharePoint 2010
Namespace:Microsoft.SharePoint.WebPartPages
Type:GetRequiresData
Details: Use IConnectionData .GetRequiresData () instead.
Namespace:Microsoft.SharePoint.WebPartPages
Type:GetData
Details: Use IConnectionData. Get Data() instead.
Namespace:Microsoft.SharePoint.WebPartPages
171
• APPENDIX
~e:GetRequiresData
Details: Use IConnectionData. GetRequiresData () instead.
Narnespace:Microsoft.SharePoint.WebPartPages
Type:Ensurelnterfaces
Details: Use the Connection Provider or ConnectionConsumer attribute to create Connection Point instead.
Narnespace:Microsoft.SharePoint.WebPartPages
Type:GetlnitEventArgs
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
Narnespace:Microsoft.SharePoint.WebPartPages
~e:CanRunAt
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
Narnespace:Microsoft.SharePoint.WebPartPages
Type: PartCommunicationMain
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
Narnespace:Microsoft.SharePoint.WebPartPages
~e:GetRequiresData
Details: Use IConnectionData. GetRequiresData () instead.
Narnespace:Microsoft.SharePoint.WebPartPages
Type:GetRequiresData
Details: Use IConnectionData. GetRequiresData () instead.
Narnespace:Microsoft.SharePoint.WebPartPages.Communication
~e: IParameterslnProvider
Details: Use System. Web. UI. WebControls. Web Parts. IWebPartParameters instead.
Narnespace:Microsoft.SharePoint.WebPartPages.Communication
~e: IParametersOutProvider
Details: Use System. Web. UI. WebControls. Web Parts. IWebPartParameters instead.
Narnespace:Microsoft.SharePoint.WebPartPages.Communication
Type:IParametersOutConsumer
172
• APPENDIX
Details: Use System. Web. UI. WebControls. Web Parts. IWebPartParameters instead.
Narnespace:Microsoft.SharePoint.WebPartPages
~e:GetRequiresData
Details: Use IConnectionData. GetRequiresData () instead.
Narnespace:Microsoft.SharePoint.WebPartPages
~e:GetData
Details: Use IConnectionData. Get Data() instead.
Narnespace:Microsoft.SharePoint.WebPartPages
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
Narnespace:Microsoft.SharePoint.WebPartPages
~e:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
Narnespace:Microsoft.SharePoint.WebPartPages
Type:GetPostBackClientEvent
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
Narnespace:Microsoft.SharePoint.WebPartPages
~e:GetPostBackClientHyperlink
Details: The recommended alternative is ClientScript. GetPostBackClientHyperlink. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
Narnespace:Microsoft.SharePoint.WebPartPages
Type: IsClientScriptBlockRegistered
Details: The recommended alternative is ClientScript. IsClientScriptBlockRegistered (string key)
http://go.microsoft.com/fwlink/?linkid=14202.
Narnespace:Microsoft.SharePoint.WebPartPages
~e: IsStartupScriptRegistered
Details: The recommended alternative is ClientScript. IsStartupScriptRegistered (string key). For
173
• APPENDIX
more information, see http: I /go. microsoft. com!fwlink/?linkid=14202.
Namespace:Microsoft.SharePoint.WebPartPages
Type:RegisterHiddenField
Details: The recommended alternative is ClientScript. RegisterHiddenField (string hiddenFieldName, string hiddenFieldlnitialValue). For more information, see http://go.microsoft.com/fwlink/?linkid=14202.
Namespace:Microsoft.SharePoint.WebPartPages
~e:RegisterClientScriptBlock
Details: The recommended alternative is ClientScript. RegisterClientScriptBlock(Type type, string key, string script). For more information, see http: I /go. microsoft. com!fwlink/?linkid=14202.
Namespace:Microsoft.SharePoint.WebPartPages
~e:RegisterStartupScript
Details: The recommended alternative is ClientScript. RegisterStartupScript (Type type, string key, string script). For more information, see http: I /go. microsoft. com/fwlink/?linkid=14202.
Namespace:Microsoft.SharePoint.WebControls
Type:RegisterOnSubmitStatement
Details: The recommended alternative is ClientScript. RegisterOnSubmi tStatement (Type type, string key, string script). For more information, see http: I !go. microsoft. comlfwlink/?linkid=14202.
Namespace:Microsoft.SharePoint.Administration
~e:SPGlobalAdmin
Details: Most of the functionality in this class is available in SPFarm or SPWebService.
Namespace:Microsoft.SharePoint.Administration
Type:OpenVirtualServer
Details: OpenVirtualServer is obsolete. Use SPWebApplication. Lookup() instead.
Namespace:Microsoft.SharePoint.Administration
~e: ExtendVirtualServer
Details: SPGlobalAdmin.ExtendVirtualServer is obsolete. To create a new web application,
use the SPWebApplicationBuilder class.
Namespace:Microsoft.SharePoint.Administration
Type:ExtendVirtualServerlnWebFarm
174
• APPENDIX
Details: To extend a web application to a new liS web site, add a new entry to SPWebApplication. IisSettings. Duplicating liS web sites on other machines in the farm is now handled automatically.
Narnespace:Microsoft.SharePoint.Administration
Type:UnextendVirtualServer
Details: To remove SharePoint from an liS web site, remove the IISSettings object from the web application that the site is serving, and call SPWebApplication. Unprovision ().
Narnespace:Microsoft.SharePoint.Administration
Type:CreateAdminVirtualServer
Details: The Administration web application is now created at the same time as the server farm. To provision the Central Administration site on a server, enable its web service instance.
Narnespace:Microsoft.SharePoint.Administration
Type:SetAdminPort
Details: To change the port of the administration site, update the SPiisSettings associated with SPAdministrationWebApplication. Local and call SPWebApplication. Provision().
Narnespace:Microsoft.SharePoint.Administration
Type:SetAdminPortAppPool
Details: Use SPAdministrationWebApplication. Local to change this setting.
Narnespace:Microsoft.SharePoint.Administration
Type:DeleteAdminVirtualServer
Details: DeleteAdminVirtualServer is obsolete. Call SPWebServicelnstance.LocalAdministration.Unprovision() instead.
Narnespace:Microsoft.SharePoint.Administration
Type:CreateConfigDatabase
Details: Use SPFarm.Create instead.
Narnespace:Microsoft.SharePoint.Administration
Type:UpgradeApplication
Details: UpgradeApplication() is a deprecated method.
Narnespace:Microsoft.SharePoint.Administration
Type:UpgradeConfigDB
175
• APPENDIX
Details: UpgradeConfigDB () is a deprecated method.
Narnespace:Microsoft.SharePoint.Administration
~e:UpdateConfigDatabaseConnection
Details: Use SPFarm. Join() instead.
Narnespace:Microsoft.SharePoint.Administration
~e:DeleteConfigDB
Details: Use SPFarm.UnJoin() instead.
Narnespace:Microsoft.SharePoint.Administration
Type:RegisterASPNETClient
Details: This method is no longer necessary.
Narnespace:Microsoft.SharePoint.Administration
Type:StartDBService
Details: Call SPWindowsServicelnstance. Provision () instead.
Narnespace:Microsoft.SharePoint.Administration
~e:StartTimerService
Details: Call SPWindowsServicelnstance. Provision () instead.
Narnespace:Microsoft.SharePoint.Administration
Type: Log
Details: This method is obsolete.
Narnespace:Microsoft.SharePoint.Administration
~e: ListCustomGlobalWebTemplates
Details: Web templates are now accessed via SPWebService.
Narnespace:Microsoft.SharePoint.Administration
Type:AddCustomGlobalWebTemplate
Details: Web templates are now accessed via SPWebService.
Narnespace:Microsoft.SharePoint.Administration
~e:DeleteCustomGlobalWebTemplate
Details: Web templates are now accessed via SPWebService.
176
• APPENDIX
Narnespace:Microsoft.SharePoint.Administration
Type:AddWPPack
Details: Use the SPSolution objects instead.
Narnespace:Microsoft.SharePoint.Administration
Type:RemoveWPPack
Details: Use the SPSolution objects instead.
Narnespace:Microsoft.SharePoint.Administration
Type:RefreshConfigCache
Details: SPGlobalAdmin. RefreshConfigCache() is obsolete. The configuration cache is now refreshed automatically by the timer service.
Narnespace:Microsoft.SharePoint.Administration
Type: IsCurrentUserGlobalAdmin
Details: This method is no longer necessary.
Narnespace:Microsoft.SharePoint.Administration
Type: Close
Details: This method is no longer necessary.
Narnespace:Microsoft.SharePoint.Administration
Type: Dispose
Details: This method is no longer necessary.
Narnespace: Microsoft.SharePoint.Administration
Type:SPGlobalConfig
Details: Most of the functionality in this class is available in SPFarm or SPWebService.
Narnespace:Microsoft.SharePoint.Administration
Type:SPVirtualServer
Details: Use SPWebApplication or SPiisSettings instead.
Narnespace:Microsoft.SharePoint.Administration
Type:UpgradeVirtualServer
Details: UpgradeVirtualServer() is a deprecated method.
177
• APPENDIX
Narnespace:Microsoft.SharePoint.Administration
Type:SPVirtualServerConfig
Details: Use SPWebApplication or SPiisSettings instead.
Narnespace:Microsoft.SharePoint.SoapServer
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
Narnespace:Microsoft.SharePoint.SoapServer
Type:RegisterStartupScript
Details: The recommended alternative is ClientScript. RegisterStartupScript (Type type, string key, string script). For more information, see http: I /go. microsoft. com/fwlink/?linkid=14202.
Narnespace:Microsoft.SharePoint.SoapServer
Type:RegisterOnSubmitStatement
Details: The recommended alternative is ClientScript. RegisterOnSubmi tStatement (Type type, string key, string script). For more information, see http: I !go. microsoft. comlfwlink/?linkid=14202.
Narnespace:Microsoft.SharePoint.SoapServer
Type:GetWebPartPageDocument
Details: Use GetWebPartPage instead.
Narnespace:Microsoft.SharePoint.SoapServer
Type:GetWebPart
Details: Use GetWebPart2 instead.
Narnespace:Microsoft.SharePoint.SoapServer
Type:GetWebPartProperties
Details: Use GetWebPartProperties2 instead.
Narnespace:Microsoft.SharePoint.SoapServer
Type:SaveWebPart
Details: Use SaveWebPart2 instead.
Narnespace:Microsoft.SharePoint
Type:SPRights
178
• APPENDIX
Details: Use SPBasePermissions instead.
Narnespace:Microsoft.SharePoint
~e:GetWebPartCollection
Details: Use SPFile.GetlimitedWebPartManager instead.
Narnespace:Microsoft.SharePoint
~e:SPRoleCollection
Details: Use the SPRoleDefinitionCollection class instead.
Narnespace:Microsoft.SharePoint
Type:GetWebPartCollection
Details: Use SPWeb .Getlimi tedWebPartManager instead.
Narnespace:Microsoft.SharePoint
~e:SPWebPartCollection
Details: Use SPLimitedWebPartManager instead.
Narnespace:Microsoft.SharePoint.Utilities
Type: EnsureSessionCredentials
Details: Use SPUtility. EnsureAuthentication instead.
Narnespace:Microsoft.SharePoint.Utilities
~e:ValidateDatabaseConnectionString
Details: This method is no longer needed.
Narnespace:Microsoft.SharePoint.Utilities
Type:GuessloginNameFromEmail
Details: Use SPUtili ty. ResolvePrincipal instead.
Narnespace:Microsoft.SharePoint.Utilities
~e:GetloginNameFromEmail
Details: Use SPUtili ty. ResolvePrincipal instead.
Narnespace:Microsoft.SharePoint.WebControls
Type: OWSForm
Details: This class has been deprecated.
179
• APPENDIX
Narnespace:Microsoft.SharePoint.WebControls
Type:OWSControl
Details: This class has been deprecated.
Narnespace:Microsoft.SharePoint.WebControls
Type:OWSSubmitButton
Details: This class has been deprecated.
Narnespace:Microsoft.SharePoint.WebControls
Type:OWSDateField
Details: This class has been deprecated.
Narnespace:Microsoft.SharePoint.WebControls
Type:OWSNumberField
Details: This class has been deprecated.
Narnespace:Microsoft.SharePoint.Meetings
Type:GetRequiresData
Details: Use IConnectionData. GetRequiresData () instead.
Narnespace:Microsoft.SharePoint.Meetings
Type:GetData
Details: Use IConnectionData. Get Data() instead.
Narnespace:Microsoft.SharePoint.Meetings
Type: PartCommunicationMain
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
Narnespace:Microsoft.SharePoint.ApplicationRuntime
Type: ProcessRequest
Details: This method has been deprecated.
Narnespace:Microsoft.SharePoint.ApplicationRuntime
Type:SPProcessRequest
Details: This method has been deprecated.
180
• APPENDIX
~arnespace:Microsoft.SharePoint.App1icationRuntime
Type:DisposeResources
Details: This method has been deprecated.
~arnespace:Microsoft.SharePoint.WebPartPages.Communication
Type: InitEventArgs
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.WebPartPages.Communication
Type:ConnectionRunAt
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.WebPartPages.Communication
Type: InterfaceTypes
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.WebPartPages.Communication
Type: ListReadyEventArgs
Details: Use System. Web. UI. WebContro1s. Web Parts. IWebPartTab1e instead.
~arnespace:Microsoft.SharePoint.WebPartPages.Communication
Type: ParametersOutProviderlnitEventHand1er
Details: Use System. Web. UI. WebContro1s. Web Parts. IWebPartParameters instead.
~arnespace:Microsoft.SharePoint.WebPartPages.Communication
Type:ParametersOutReadyEventHand1er
Details: Use System. Web. UI. WebContro1s. Web Parts. IWebPartParameters instead.
~arnespace:Microsoft.SharePoint.Pub1ishing.WebContro1s
Type:GetRequiresData
Details: Use IConnectionData. GetRequiresData () instead.
~arnespace:Microsoft.SharePoint.Pub1ishing.WebContro1s
Type:GetData
Details: Use IConnectionData. Get Data() instead.
181
• APPENDIX
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:Ensurelnterfaces
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:GetlnitEventArgs
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: InitializeNonDefault
Details: This method has been deprecated. Use InitializeExistingComponent instead. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:OnSetComponentDefaults
Details: This method has been deprecated. Use InitializeNewComponent instead. For more information, seehttp://go.microsoft.com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:GetRequiresData
Details: Use IConnectionData. GetRequiresData () instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:GetData
Details: Use IConnectionData. Get Data() instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: Ensurelnterfaces
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:GetlnitEventArgs
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:CanRunAt
182
• APPENDIX
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
~e: PartCommunicationConnect
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
~e: PartCommunicationlnit
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: PartCommunicationMain
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
~e:GetRequiresData
Details: Use IConnectionData. GetRequiresData () instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:GetData
Details: Use IConnectionData. Get Data() instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
~e: Ensurelnterfaces
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:GetlnitEventArgs
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:CanRunAt
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
~e: PartCommunicationConnect
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
183
• APPENDIX
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: PartCommunicationlnit
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: PartCommunicationMain
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:GetRequiresData
Details: Use IConnectionData. GetRequiresData () instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:GetData
Details: Use IConnectionData. Get Data() instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: Ensurelnterfaces
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:GetlnitEventArgs
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:CanRunAt
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: PartCommunicationConnect
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: PartCommunicationlnit
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
184
• APPENDIX
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: PartCommunicationMain
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:GetRequiresData
Details: Use IConnectionData. GetRequiresData () instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:GetData
Details: Use IConnectionData. Get Data() instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:Ensurelnterfaces
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:GetlnitEventArgs
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type:CanRunAt
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: PartCommunicationConnect
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: PartCommunicationlnit
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace: Microsoft.SharePoint.Publishing.WebControls
Type: PartCommunicationMain
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
185
• APPENDIX
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackClientEvent
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackClientHyperlink
Details: The recommended alternative is ClientScript. GetPostBackClientHyper link. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type: IsClientScriptBlockRegistered
Details: The recommended alternative is ClientScript. IsClientScriptBlockRegistered (string key). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:IsStartupScriptRegistered
Details: The recommended alternative is ClientScript. IsStartupScriptRegistered (string key). For more information, see http: I !go. microsoft. com!fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more
186
• APPENDIX
information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackClientEvent
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackClientHyperlink
Details: The recommended alternative is ClientScript. GetPostBackClientHyperlink. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type: IsClientScriptBlockRegistered
Details: The recommended alternative is ClientScript. IsClientScriptBlockRegistered (string key). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:IsStartupScriptRegistered
Details: The recommended alternative is ClientScript. IsStartupScriptRegistered (string key). For more information, see http: I !go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterArrayDeclaration
Details: The recommended alternative is ClientScript. RegisterArrayDeclaration (string arrayName, string arrayValue). For more information, see http: I /go. microsoft. com!fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackClientEvent
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type: IsStartupScriptRegistered
Details: The recommended alternative is ClientScript. IsStartupScriptRegistered (string key). For more information, see http: I /go. microsoft. com!fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterArrayDeclaration
187
• APPENDIX
Details: The recommended alternative is ClientScript. RegisterArrayDeclaration (string arrayName, string arrayValue). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
~e:RegisterHiddenField
Details: The recommended alternative is ClientScript. RegisterHiddenField (string hiddenFieldName, string hiddenFieldlnitialValue). For more information, see http://go.microsoft.com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterClientScriptBlock
Details: The recommended alternative is ClientScript. RegisterClientScriptBlock(Type type, string key, string script). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterStartupScript
Details: The recommended alternative is ClientScript. RegisterStartupScript (Type type, string key, string script). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
~e:RegisterOnSubmitStatement
Details: The recommended alternative is ClientScript. RegisterOnSubmi tStatement (Type type, string key, string script). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
~e:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackClientEvent
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
188
• APPENDIX
Namespace: Microsoft.SharePoint. Publishing. Internal. CodeBehind
Type:GetPostBackClientHyperlink
Details: The recommended alternative is ClientScript. GetPostBackClientHyper link. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
Namespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type: IsClientScriptBlockRegistered
Details: The recommended alternative is ClientScript. IsClientScriptBlockRegistered (string key). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
Namespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:IsStartupScriptRegistered
Details: The recommended alternative is ClientScript. IsStartupScriptRegistered (string key). For more information, see http: I !go. microsoft. com!fwlink/?linkid=14202.
Namespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterArrayDeclaration
Details: The recommended alternative is ClientScript. RegisterArrayDeclaration (string arrayName, string arrayValue). For more information, see http: I !go. microsoft. com!fwlink/?linkid=14202.
Namespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterHiddenField
Details: The recommended alternative is ClientScript. RegisterHiddenField (string hiddenFieldName, string hiddenFieldlnitialValue). For more information, see http://go.microsoft.com/fwlink/?linkid=14202.
Namespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterClientScriptBlock
Details: The recommended alternative is ClientScript. RegisterClientScriptBlock(Type type, string key, string script). For more information, see http: I !go. microsoft. com!fwlink/?linkid=14202.
Namespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterStartupScript
Details: The recommended alternative is ClientScript. RegisterStartupScript (Type type, string key, string script). For more information, see http: I /go. microsoft. com/fwlink/?linkid=14202.
Namespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterOnSubmitStatement
Details: The recommended alternative is ClientScript. RegisterOnSubmi tStatement (Type type, string
189
• APPENDIX
key, string script). For more information, see http: I /go. microsoft. com!fwlink/?linkid=14202.
~amespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
~amespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
~e:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~amespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
~e:GetPostBackClientEvent
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~amespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackClientHyperlink
Details: The recommended alternative is ClientScript. GetPostBackClientHyper link. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
~amespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
~e: IsClientScriptBlockRegistered
Details: The recommended alternative is ClientScript. IsClientScriptBlockRegistered (string key). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~amespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:IsStartupScriptRegistered
Details: The recommended alternative is ClientScript. IsStartupScriptRegistered (string key). For more information, see http: I !go. microsoft. comlfwlink/?linkid=14202.
~amespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
~e:RegisterArrayDeclaration
Details: The recommended alternative is ClientScript. RegisterArrayDeclaration (string arrayName, string arrayValue). For more information, see http: I /go. microsoft. com!fwlink/?linkid=14202.
~amespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterHiddenField
190
• APPENDIX
Details: The recommended alternative is ClientScript. RegisterHiddenField (string hiddenFieldName, string hiddenFieldlnitialValue). For more information, see http://go.microsoft.com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
~e:RegisterClientScriptBlock
Details: The recommended alternative is ClientScript. RegisterClientScriptBlock(Type type, string key, string script). For more information, see http: I /go. microsoft. com!fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterStartupScript
Details: The recommended alternative is ClientScript. RegisterStartupScript (Type type, string key, string script). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterOnSubmitStatement
Details: The recommended alternative is ClientScript. RegisterOnSubmi tStatement (Type type, string key, string script). For more information, see http: I !go. microsoft. com!fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
~e:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
~e:GetPostBackClientEvent
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackClientHyperlink
Details: The recommended alternative is ClientScript. GetPostBackClientHyper link. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
191
• APPENDIX
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type: IsClientScriptBlockRegistered
Details: The recommended alternative is ClientScript. IsClientScriptBlockRegistered (string key). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type: IsStartupScriptRegistered
Details: The recommended alternative is ClientScript. IsStartupScriptRegistered (string key). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterArrayDeclaration
Details: The recommended alternative is ClientScript. RegisterArrayDeclaration (string arrayName, string arrayValue). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterHiddenField
Details: The recommended alternative is ClientScript. RegisterHiddenField (string hiddenFieldName, string hiddenFieldlnitialValue). For more information, see http://go.microsoft.com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterClientScriptBlock
Details: The recommended alternative is ClientScript. RegisterClientScriptBlock(Type type, string key, string script). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterStartupScript
Details: The recommended alternative is ClientScript. RegisterStartupScript (Type type, string key, string script). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:RegisterOnSubmitStatement
Details: The recommended alternative is ClientScript. RegisterOnSubmi tStatement (Type type, string key, string script). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Design.WebControls
Type:GetPersistlnnerHtml
192
• APPENDIX
Details: The recommended alternative is GetPersistenceContent(). For more information, see http://go.microsoft.com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Design.WebControls
~e: IsPropertyBound
Details: The recommended alternative is Data Bindings. Contains (string). The Data Bindings collection allows more control of the data bindings associated with the control. For more information, see http://go.microsoft.com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Design.WebControls
Type:RaiseResizeEvent
Details: Use of this method is not recommended because resizing is handled by the OnComponentChanged () method. For more information, see http://go.microsoft.com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Design.WebControls
Type: InitializeNonDefault
Details: This method has been deprecated. Use InitializeExistingComponent instead. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.Design.WebControls
~e:OnSetComponentDefaults
Details: This method has been deprecated. Use InitializeNewComponent instead. For more information, seehttp://go.microsoft.com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
~e:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:GetPostBackClientEvent
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
193
• APPENDIX
~arnespace:Microsoft.SharePoint.Publishing
Type:GetPostBackClientHyperlink
Details: The recommended alternative is ClientScript. GetPostBackClientHyper link. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type: IsClientScriptBlockRegistered
Details: The recommended alternative is ClientScript. IsClientScriptBlockRegistered (string key). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:IsStartupScriptRegistered
Details: The recommended alternative is ClientScript. IsStartupScriptRegistered (string key). For more information, see http: I !go. microsoft. com!fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterArrayDeclaration
Details: The recommended alternative is ClientScript. RegisterArrayDeclaration (string arrayName, string arrayValue). For more information, see http: I !go. microsoft. com!fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterHiddenField
Details: The recommended alternative is ClientScript. RegisterHiddenField (string hiddenFieldName, string hiddenFieldlnitialValue). For more information, see http://go.microsoft.com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterClientScriptBlock
Details: The recommended alternative is ClientScript. RegisterClientScriptBlock(Type type, string key, string script). For more information, see http: I !go. microsoft. com!fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterStartupScript
Details: The recommended alternative is ClientScript. RegisterStartupScript (Type type, string key, string script). For more information, see http: I /go. microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterOnSubmitStatement
194
• APPENDIX
Details: The recommended alternative is ClientScript. RegisterOnSubmi tStatement (Type type, string key, string script). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
~e:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:GetPostBackClientEvent
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
~e:GetPostBackClientHyperlink
Details: The recommended alternative is ClientScript. GetPostBackClientHyperlink. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type: IsClientScriptBlockRegistered
Details: The recommended alternative is ClientScript. IsClientScriptBlockRegistered (string key). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
~e: IsStartupScriptRegistered
Details: The recommended alternative is ClientScript. IsStartupScriptRegistered (string key). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterArrayDeclaration
Details: The recommended alternative is ClientScript. RegisterArrayDeclaration (string arrayName, string arrayValue). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
195
• APPENDIX
~e:RegisterHiddenField
Details: The recommended alternative is ClientScript. RegisterHiddenField (string hiddenFieldName, string hiddenFieldlnitialValue). For more information, see http://go.microsoft.com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterClientScriptBlock
Details: The recommended alternative is ClientScript. RegisterClientScriptBlock(Type type, string key, string script). For more information, see http: I !go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
~e:RegisterStartupScript
Details: The recommended alternative is ClientScript. RegisterStartupScript (Type type, string key, string script). For more information, see http: I /go. microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
~e:RegisterOnSubmitStatement
Details: The recommended alternative is ClientScript. RegisterOnSubmi tStatement (Type type, string key, string script). For more information, see http: I /go. microsoft. com!fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
~e:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:GetPostBackClientEvent
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
~e:GetPostBackClientHyperlink
Details: The recommended alternative is ClientScript. GetPostBackClientHyperlink. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
196
• APPENDIX
~arnespace:Microsoft.SharePoint.Publishing
Type: IsClientScriptBlockRegistered
Details: The recommended alternative is ClientScript. IsClientScriptBlockRegistered (string key). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type: IsStartupScriptRegistered
Details: The recommended alternative is ClientScript. IsStartupScriptRegistered (string key). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterArrayDeclaration
Details: The recommended alternative is ClientScript. RegisterArrayDeclaration (string arrayName, string arrayValue). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterHiddenField
Details: The recommended alternative is ClientScript. RegisterHiddenField (string hiddenFieldName, string hiddenFieldlnitialValue). For more information, see http://go.microsoft.com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterClientScriptBlock
Details: The recommended alternative is ClientScript. RegisterClientScriptBlock(Type type, string key, string script). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterStartupScript
Details: The recommended alternative is ClientScript. RegisterStartupScript (Type type, string key, string script). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Search.Internal.WebControls
Type:GetRequiresData
Details: Use IConnectionData. GetRequiresData () instead.
~arnespace:Microsoft.SharePoint.Search.Internal.WebControls
Type:GetData
Details: Use IConnectionData. Get Data() instead.
197
• APPENDIX
~arnespace:Microsoft.SharePoint.Search.Internal.WebControls
Type:Ensurelnterfaces
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Search.Internal.WebControls
Type:GetlnitEventArgs
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Search.Internal.WebControls
Type: PartCommunicationConnect
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Search.Internal.WebControls
Type:GetRequiresData
Details: Use IConnectionData. GetRequiresData () instead.
~arnespace:Microsoft.SharePoint.Search.Internal.WebControls
Type:GetData
Details: Use IConnectionData. Get Data() instead.
~arnespace:Microsoft.SharePoint.Security
Type:WebPartPermission
Details: Web part permissions are obsolete and no longer required.
~arnespace:Microsoft.SharePoint.Security
Type:WebPartPermissionAttribute
Details: Web part permissions are obsolete and no longer required.
~arnespace:Microsoft.Office.RecordsManagement.Internal
Type: !nit
Details: The ResourceManager is statically initialized.
~arnespace:Microsoft.Office.RecordsManagement.Internal
Type: !nit
Details: The ResourceManager is statically initialized.
198
• APPENDIX
Narnespace:Microsoft.Office.RecordsManagement.Internal
Type: !nit
Details: The ResourceManager is statically initialized.
Narnespace:Microsoft.Office.InfoPath.Server.ApplicationPages
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
Narnespace:Microsoft.Office.InfoPath.Server.ApplicationPages
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
Narnespace:Microsoft.Office.InfoPath.Server.ApplicationPages
Type:GetPostBackClientEvent
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
Narnespace:Microsoft.Office.InfoPath.Server.ApplicationPages
Type:GetPostBackClientHyperlink
Details: The recommended alternative is ClientScript. GetPostBackClientHyperlink. For more information, see http: I /go .microsoft. com/fwlink/ ?linkid=14202.
Narnespace:Microsoft.Office.InfoPath.Server.ApplicationPages
Type: IsClientScriptBlockRegistered
Details: The recommended alternative is ClientScript. IsClientScriptBlockRegistered (string key). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
Narnespace:Microsoft.Office.InfoPath.Server.ApplicationPages
Type: IsStartupScriptRegistered
Details: The recommended alternative is ClientScript. IsStartupScriptRegistered (string key). For more information, see http: I /go. microsoft. com!fwlink/?linkid=14202.
Narnespace:Microsoft.Office.InfoPath.Server.ApplicationPages
Type:RegisterArrayDeclaration
Details: The recommended alternative is ClientScript. RegisterArrayDeclaration (string arrayName, string arrayValue). For more information, see http: I !go. microsoft. comlfwlink/?linkid=14202.
199
• APPENDIX
~arnespace:Microsoft.Office.InfoPath.Server.ApplicationPages
Type:RegisterHiddenField
Details: The recommended alternative is ClientScript. RegisterHiddenField (string hiddenFieldName, string hiddenFieldlnitialValue). For more information, see http://go.microsoft.com/fwlink/?linkid=14202.
~arnespace:Microsoft.Office.InfoPath.Server.ApplicationPages
Type:RegisterClientScriptBlock
Details: The recommended alternative is ClientScript. RegisterClientScriptBlock(Type type, string key, string script). For more information, see http: I /go. microsoft. com!fwlink/?linkid=14202.
~arnespace:Microsoft.Office.InfoPath.Server.ApplicationPages
Type:RegisterStartupScript
Details: The recommended alternative is ClientScript. RegisterStartupScript (Type type, string key, string script). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.Office.InfoPath.Server.ApplicationPages
Type:RegisterOnSubmitStatement
Details: The recommended alternative is ClientScript. RegisterOnSubmi tStatement (Type type, string key, string script). For more information, see http: I !go. microsoft. com!fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: PartCommunicationConnect
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: PartCommunicationlnit
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.WebControls
Type: PartCommunicationMain
Details: Use Connection Provider or ConnectionConsumer to create Connection Point instead.
~arnespace:Microsoft.SharePoint.Publishing.Internal.CodeBehind
Type:GetPostBackEventReference
Details: The recommended alternative is ClientScript. GetPostBackEventReference. For more information, see http: I !go .microsoft. com/fwlink/ ?linkid=14202.
200
• APPENDIX
~arnespace:Microsoft.SharePoint.Publishing
Type: IsClientScriptBlockRegistered
Details: The recommended alternative is ClientScript. IsClientScriptBlockRegistered (string key). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type: IsStartupScriptRegistered
Details: The recommended alternative is ClientScript. IsStartupScriptRegistered (string key). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterArrayDeclaration
Details: The recommended alternative is ClientScript. RegisterArrayDeclaration (string arrayName, string arrayValue). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterHiddenField
Details: The recommended alternative is ClientScript. RegisterHiddenField (string hiddenFieldName, string hiddenFieldlnitialValue). For more information, see http://go.microsoft.com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterClientScriptBlock
Details: The recommended alternative is ClientScript. RegisterClientScriptBlock(Type type, string key, string script). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterStartupScript
Details: The recommended alternative is ClientScript. RegisterStartupScript (Type type, string key, string script). For more information, see http: I /go.microsoft. com/fwlink/?linkid=14202.
~arnespace:Microsoft.SharePoint.Publishing
Type:RegisterOnSubmitStatement
Details: The recommended alternative is ClientScript. RegisterOnSubmi tStatement (Type type, string key, string script). For more information, see http: I /go. microsoft. comlfwlink/?linkid=14202.
201
• APPENDIX
202
New SharePoint Server Controls Some new server controls introduced in SharePoint 2010 are relevant to designers, power users and developers. Table A-5 contains the comprehensive list of new server controls and their description.
Table A-5. New SharePoint Service Controls
Server Control Description
SharePoint:SPShortcutlcon Sets the favicon in the top left of the browser URL bar
SharePoint:CssRegistration After="corev4.css" Tells Share Point what to load after Corev4 css
SharePoint:SPRibbon Adds the Fluent UI (the ribbon) to the page
Adds the breadcrumb that, when clicked, shows the pop-out that displays your current location in the site in
SharePoint:PopoutMenu a hierarchical tree structure
SharePoint:SPRibbonPeripheralContent Adds various items that are attached to the ribbon
Loads the page edit and save icon buttons near the top SharePoint:PageStateActionButton left of the page
SharePoint:LanguageSpecificContent Displays content specific to the selected language
Launches the developer dashboard (which is hidden by Sharepoint:DeveloperDashboardlauncher default but can be enabled with STSADM or PowerShell)
SharePoint:ClusteredDirectionalSeparatorArrow Loads the arrow near the site icon after the page title
SharePoint:AspMenu UseSimpleRendering="true" Renders tableless navigation
SharePoint:VisualUpgradePreviewStatus Displays the visual upgrade status in the status bar
Enables the capability to target page elements to SharePoint:VersionedPlaceHolder UIVersion="3" version 3 or 4 capabilities
SharePoint:ClusteredSPLinkButton Allows SharePoint 2010 to make use of CSS sprites
Loads the actual developer dashboard at the bottom of the master page, which is hidden until the launcher is
SharePoint:DeveloperDashboard clicked
SharePoint:WarnOnUnsupportedBrowsers Displays a warning to users who are trying to access the site with an unsupported browser (e.g., Internet
• APPENDIX
Explorer 6)
Sets the Multilingual User Interface (MUI) language selected that shows up in the welcome menu iflanguage
wssuc:MUISelector packs are installed
SPSWC:MySiteCssRegistration Allows the use of specific CSS
The Administration Toolkit By Microsoft and third-party vendors, many tools have been introduced to facilitate process, management, and data in SharePoint 2010. Various tools are available for developers and designers, and we have introduced few of the noteworthy and important ones in previous chapters. However, one very important tool we would recommend to administrators is the Administration toolkit. Using it, administrators can perform load testing, configure security, replicate user profiles, ensure interoperability with content management, and run diagnostics on the SharePoint platform. You can obtain the Administration toolkit here: http: I /technet. microsoft. com/en-us/library I ccS088S1. aspx.
Must-Read Articles and Blogs As final note, Microsoft has made available a significant amount of information on migration to SharePoint 2010 on both the MSDN and TechNet sites. You'll also fmd a lot about general architecture, designs, development, and so on. Then too, many community groups and users have contributed a lot the SharePoint community, and we strongly recommend reading all the information available. To help you fmd what you need, we list here some of the important articles, blogs, and books that might help you in your migration process.
MSDNBlogs There are many blog posts on MSDN related to migration to SharePoint 2010. These are the MSDN blogs we recommend:
• http://msdn.microsoft.com/en-us/sharepoint/ee514557.aspx
• http://msdn.microsoft.com/en-us/library/gg454789.aspx
• http://msdn.microsoft.com/en-us/library/ee539981.aspx
• http://msdn.microsoft.com/en-us/library/ee816116.aspx
• http://msdn.microsoft.com/en-us/library/ee662217.aspx
• http://msdn.microsoft.com/en-us/library/gg430141.aspx
• http:l/blogs.msdn.com/opal/archive/2009/11/16/installation-notice-forsharepoint-2010-public-beta.aspx
• http://sharepoint.microsoft.com/blog/Pages/BlogPost.aspx?piD=431
203
• APPENDIX
204
• http://sharepoint.microsoft.com/Blogs/GetThePoint/Lists/Posts/Post.aspx?ID =389
• http://sharepoint.microsoft.com/Blogs/GetThePoint/Lists/Posts/Post.aspx?ID =398
• http://sharepoint.microsoft.com/Blogs/GetThePoint/Lists/Posts/Post.aspx?ID =409
TechN et Articles These are the TechNet articles we recommend:
• http://technet.microsoft.com/en-us/library/hh801868.aspx
• http://technet.microsoft.com/en-us/sharepoint/ee517214.aspx
• http://technet.microsoft.com/en-us/sharepoint/ff465365
• http://technet.microsoft.com/en-us/library/cc303420.aspx
• http://technet.microsoft.com/en-us/library/hh801868.aspx
• http://technet.microsoft.com/en-us/library/ff191199.aspx
• http://technet.microsoft.com/en-us/library/cc262155.aspx
• http://technet.microsoft.com/en-us/library/cc262967.aspx
Other Blogs There are many community groups and SharePoint experts who contributed a lot. Here are a few other blogs you might want to follow:
• www.sharepointjoel.com/Lists/Posts/Post.aspx?ID=337
• http:l/weblogs.asp.net/jan/archive/2009/05/06/querying-sharepoint-listitems-using-jquery.aspx
• http://blah.winsmarts.com/2009-11-SharePoint_2010_Development_Environment_-and-ndash;_Practical_Tips.aspx
• www.win2008workstation.com/win2008/windows-server-2008-workstationconverter
• www.aiim.org/community/blogs/expert/SharePoint-2010-Web-StandardsAccessibility-and-Usability-Quick-Reference-Guide
Books For more detailed information we recommend the following books:
• Microsoft SharePoint 2010: Building Solutions for SharePoint 2010 by Sahil Malik (Apress, 2010)
• Pro SharePoint 2010 Business Intelligence Solutions by Sahil Malik, Srini Sistla, and Steve Wright (Apress, 2010)
• Pro SharePoint 2010 Branding and User Interface Design by Randy Drisgill, John Ross, and Jacob J. Sanford (Wrox, 2010)
Authors' Blogs And finally, here are the authors' blogs. Our blogs contain a lot of information about migration and many other topics on SharePoint 2010:
• http://blah.winsmarts.com
• http://blog.srinisistla.com
• APPENDIX
205
Index
•A Administration toolkit, 203 Alternate access mapping (AAM), 7, 51-52 Articles and blogs, 203-205 Authors' blogs, 205
•B Books, 205 Branding, 75
MOSS 2007 master page activation code, 106 artifacts migration, 103 custom assets, 103 deactivation code, 107 element file, 105-106 feature stapling aspect, 107 visual changes, 104 Visual Studio 2010, 105 web events, 107, 108 WebProvisioned event handler, 108, 109
ribbon control CSS file, 99-100 elements, 100-103
ribbon interface Browse tab, 99 contextual editing capability, 96 Format Text tab functions, 96-97 Insert tab functions, 97-98 Page tab functions, 98-99 Publish tab functions, 99 ribbon 101, 96
Breadcrumb menu items, 168 Business Data Catalog (BDC), 25,44-45
•C Cascading Style Sheets (CSS), 82-83 Central Administrtion Site, 54
Claims-based authentication (CBA), 59-60 Client object model (COM)
architecture, 149 assembly locations, 148 authentication modes, 151 classes, 148 client context creation, 149 ECMA script, 151 features, 147 server web context creation, 149 in Silverlight, 150-151 in Windows applciations, 150
Collaborative Application Markup Language (CAML), 92
Content authoring, 127 Content Editor web part (CEWP), 90-91 Content placeholders, 163-166 Content Query web part (CQWP), 88-90 Core V4 CSS elements and corresponding
classes, 167-171
•D Database attach upgrade method, 11 Design changes,
cleaner HTML creation, 95-96 master pages (see Master pages) MOSS 2007, 75 SharePoint 2010, 75-76 themes creation, 77-80 UI, 75 WCAG and ARIA
core areas, 94 standards, 93-94
web content management web parts CEWP, 90-91 CQWP (see Content Query web part
(CQWP)) XML Viewer web part, 91-92 XSLT List View web part, 92-93
Developer Roadmap, 110
207
• INDEX
208
Developers .NET developers (see .NET developers) savvy business user developers (see Savvy
business user developers)
• E Enterprise content management (ECM)
definition, 127 in MOSS 2007, 127 SharePoint 2010
document IDs and document sets, 128-130
enterprise content types, 128 improved content authoring and
analytics, 127 in-place records management, 131-132 managed metadata service, 128
European Computer Manufacture Association Script (ECMAScript), 148
• F, G, H Farm solutions, 141, 144 Forms-based authentication (FBA)
authentication model, 55 CBA, 59,60 Launch Windows PowerShell, 55 web application, 55-58
14hive\TEMPLATE\GLOBAL\XML\CMDUI.XML '144
• I, J, K ID 73EF14B l-13A9-416b-A9B5-ECECA2B0604C
for TaxonomyFieldAdded, 129 In-place records management, 131-132 In-Place upgrade server, 10-11 IT administrators, 39
claims-based FBA, 54-55 CBA, 59,60 PowerShell cmdlets, 55 web application, 55-58
continuity maintainance, 39 code logic, 42 databases-attach upgrade, 40 hybrid I & II approach, 40 in-place upgrade, 40 migration, 39 out-of-the-box workflows, 40
sequential and state machine workflows, SharePoint 2007, 41, 42
SharePoint designer workflows, 40 test environment upgrade, 40 web.config file, 43 workflow auto cleanup timer Job, 40 Workflow Foundation, 40 WSS.ACTIONS file, 43
migration settings, 44 AAM,51-52 BDC,44-45 managing services, 50-51 multiple authentication schemes, single
URL, 53-54 search service, 46 SSO to SSS, 47-50 user profiles, 46-4 7
minimal disruption, 43-44 MOSS 2007, 39 roadmap, 73 SharePoint 2010 environment, 61
Central Administration screen, 61 configure logging database, 68-69 correlation IDs, 62-64 developer dashboard, 69-71 health analyzer, 64-66 log files, 61 monitoring workflows, 71-72 usage and health data collection, 66-68
STSADM vs. PowerShell, 60-61
•L Language Integrated Query (LINQ), 146-147 Localupgradestatus operation, 10
Managed metadata service, 128 Master pages
application, 82 CSS,82-83 customization, jQuery, 83
Client Object Model, 83 list items retrieval, 84-86 query mechanism, 83 script me, 84 ScriptLink control, 84
DynamicMasterPageFile attribute, 81 migration, 80
MOSS 2007, 80, 81 publishing template
Collaboration Portal template, 86-87 Enterprise Wild, 87-88 Publishing group, 86, 87
SharePoint 2010, 80, 81 Metadata taxonomy, 128 Microsoft Office SharePoint Server (MOSS), 1 Migration Demo Reusable Workflow.xsn, 119 Migration process
checklist and references, 37 hardware requirement, 1 key features, 35-37 Service Pack 3 (SP3), 1 SharePoint 2010
community, 2-3 composite, 3 content function, 3 downtime, 5 error-free transition, 4 feature upgrade, 5 hardware requirement, 4-6 infrastructure, 1 insights, 3 new upgrade method, 4 PowerShell cmdlets, 4 preupgrade check (see Preupgrade check) reporting and logging, 5 search function, 3 sites, 3 upgrade approaches (see Upgrade
approaches) visual upgrade, 5
unsupported model, 35 variations of publishing site, 34
MOSS 2007 deprecated methods, 171-201 MOSS 2007 infrastructure, 5 Mount-SPContentDatabase command, 23 MSDN Blogs, 203-204
• N .NET developers
ribbon customization, 144-145 sandbox solutions
code under, 141 functional limitations, 142-144 partial trust, 141 refactoring, 144 Solution Restrictions, 143
Visual Studio 2010, 144 SharePoint 2010 API
client-side API (see Client object model (COM))
server-side API, 146--147 SharePoint 2010 development tools
client operating system, 132 Visual Studio 2010 (see Visual Studio
2010) New SharePoint Server Controls, 202-203
•O Office Infopath 2010, 119-120
•P Power user. See Savvy business user developers PowerShell command, 14, 23, 129 Preupgrade check
features, 6-7 12hive\logs folder, 7, 8 rules, 7 STSADM command, 7, 8
PSConfig command-line tool, 22
Quick Launch menu items, 169
Release to manufacturing (RTM), 2 Ribbon container, 167 Ribbon customization, 145
Savvy business user developers new ECM features (see Enterprise content
management (ECM)) SharePoint Designer 2010 (see SharePoint
Designer 2010 (SPD 2010)) Secure Store Services (SSS), 44,47-50 Server -side API, 146-14 7 Service application proxy, 29, 30 Shared Service Provider (SSP), 24, 44 SharePoint Designer 2010 (SPD 20 10). See also
.NET developers
• INDEX
209
• INDEX
210
SharePoint Designer 2010 (cont.) for web application in Central
Administration, 113 Home page, 112 no-code solutions, 111 Office Infopath 2010, 119-120 Visio 2010 (seeVisio 2010) workflows
actions, 114 advanced, 114 condition, 114 design workflow conditions and actions,
117 Globally Reusable Workflow options, 117-
118 listworkflow, 114 reusable workflows creation, 114-116 simple, 120, 121 Site workflows, 114
.wsp files import reusable workflows, Visual Studio
2010,124-125 save and export workflows templates,
123,124 save site templates, 125, 126 Site Assets library, 124
SharePoint Foundation 2010 (SPF), 13 SharePoint Server (SPS)2010, 4, 24 Share Point Team Services Administration
(STSADM), 7 Silverlight. Visio services, 120 Single sign-on (SSO), 44, 4 7-50 Site actions menu, 167 Solution Validator code, 141 SPUCWorkerProcess.exe, 141 SQL database backup mechanism, 14 STSADM command, 14, 129 stsadm-o preupgradecheck command, 10 STSADM vs. PowerShell, 153-63
•T TechNet articles, 204 TechNet resource, 171 Term Store Management Tool, 128
•U Upgrade approaches
access control list, 12
database attachment advantages, 11 backup-and-restore, 11 installation, 12-13 Post-upgrade check, 15-16 preparation tools, 11-13 upgrade, 13-15
database issue, 12 document versions, 12 Hybrid approach 1, 16-18 Hybrid approach 2, 18-21 in-place upgrade
advantage of, 9 configuration, 10, 11 db_owner database role, 10 operating system requirement, 9 preparation, 10
large lists, 12 MySite database, 33-34 pros vs. cons, 20-21 site collections, 12 user profile
administrator, 30-31 Find profiles, 32 GUID,29 Managed Metadata service, 25 management shell, 33 MOSS 2007, 25 PowerShell cmdlet, 27-28 properties, 25 proxy,29,30 ribbon under operation, 30, 31 service application, 25 SQL Server, 26-27 Sync and Social, 28
visual aspect customization, 22 farm administrator, 22 issues, 24 new look and feel, 22 PowerShell, 22 PSConfig command line-tool, 22 service application, 24 site collection, 23 smooth transition, 22 user interface, 22
User Profile migration, 25, 26 User Profile Service
Application_SocialDB_{GUID}, 28
•V Visio 2010
check for errors and publish imported workflows, 122-123
export Visio workflow from SPD 2010, 123 import Visio workflows in SPD 2010, 121, 122 workflow creation, 120, 121
Visio Workflow Interchange (.vwi) file, 121 Visual Studio 2010
add mapped folders, 134 ASP.NET user control (.ascx), 137 default templates, 133 design features in, 136 SharePoint project item templates, 136
• INDEX
vs. Visual Studio 2008, 132 visual web part
code for, 138-140 debugging changes, 139 deploy visual web part on Share Point site,
139, 140 template creation, 137
• W, X, Y, Z Web Front Ends (WFEs), 14 Web part menu, 170 Windows SharePoint Services (WSS), 5 WSS Search topology, 7
211