Set-SPBusinessDataCatalogServiceApplication
Published: July 16, 2012
Applies to: SharePoint Foundation 2013 | SharePoint Server 2013 Enterprise
Sets global properties for a Business Data Connectivity service application in the farm.
Set-SPBusinessDataCatalogServiceApplication -Identity <SPServiceApplicationPipeBind> [-ApplicationPool <SPIisWebServiceApplicationPool>] [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-DatabaseCredentials <PSCredential>] [-DatabaseName <String>] [-DatabasePassword <SecureString>] [-DatabaseServer <String>] [-DatabaseUsername <String>] [-FailoverDatabaseServer <String>] [-Name <String>] [-Sharing <SwitchParameter>] [-WhatIf [<SwitchParameter>]]
Parameters
| Parameter | Required | Type | Description | ||
|---|---|---|---|---|---|
| ApplicationPool | Optional | Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool | Specifies the IIS application pool to use for the new Business Data Connectivity service application. | ||
| DatabaseCredentials | Optional | System.Management.Automation.PSCredential | Specifies the PSCredential object that contains the user name and password to be used for database SQL Server Authentication. The type must be a valid PSCredential object. | ||
| DatabaseName | Optional | System.String | Specifies the name of the Business Data Connectivity database. The type must be a valid name of a SQL Server database; for example, UsageLogDB1. | ||
| DatabasePassword | Optional | System.Security.SecureString | Specifies the password for the user specified in DatabaseUserName. Use this parameter only if SQL Server Authentication is used to access the Business Data Connectivity database. The type must be a valid password. | ||
| DatabaseServer | Optional | System.String | Specifies the name of the Business Data Connectivity database. The type must be a valid name of a SQL Server database; for example, UsageLogDB1. | ||
| DatabaseUsername | Optional | System.String | Specifies the user name to use for connecting to the catalog database. Use this parameter only if SQL Server Authentication is used to access the Business Data Connectivity database. The type must be a valid user name; for example, UserName1. | ||
| FailoverDatabaseServer | Optional | System.String | Specifies the name of the host server for the failover database server. The type must be a valid SQL Server host name; for example, SQLServerHost1. | ||
| Identity | Optional | Microsoft.SharePoint.PowerShell.SPServiceApplicationPipeBind | Specifies the Business Data Connectivity service application associated with the new proxy. | ||
| Name | Optional | System.String | Specifies a display name for the new Business Data Connectivity service application proxy. | ||
| Sharing | Optional | System.Management.Automation.SwitchParameter | Specifies that the Business Data Connectivity service application is published and shared across the farm. | ||
| AssignmentColletion | Optional | Microsoft.SharePoint.PowerShell.SPAssignmentCollection | Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.
| ||
| Confirm | Optional | System.Management.Automation.SwitchParameter | Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters | ||
| WhatIf | Optional | System.Management.Automation.SwitchParameter | Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters |
Detailed Description
The Set-SPBusinessDataCatalogServiceApplication cmdlet sets global properties for a Business Data Connectivity service application in the farm.
Input Types
Return Types
Errors
| Error | Description |
|---|---|
| Exceptions | Description |
|---|---|
------------------EXAMPLE------------------
Set-SPBusinessDataCatalogServiceApplication –Identity $serviceApplication –FailoverDatabaseServer "CONTOSO\Backup"
This example sets the failover database server to CONTOSO\Backup for the given service application.
Change History
| Date | Description |
|---|---|
| July 16, 2012 | Initial publication |

Note: