SPServiceDsnObjectProvider.SetAlternativeServiceDsnObjectProvider method
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub SetAlternativeServiceDsnObjectProvider ( _
farm As SPFarm, _
connectionString As String _
)
'Usage
Dim farm As SPFarm
Dim connectionString As StringSPServiceDsnObjectProvider.SetAlternativeServiceDsnObjectProvider(farm, _
connectionString)
public static void SetAlternativeServiceDsnObjectProvider(
SPFarm farm,
string connectionString
)
Parameters
- farm
Type: Microsoft.SharePoint.Administration.SPFarm
- connectionString
Type: System.String
See also
Reference
SPServiceDsnObjectProvider class