共用方式為


SPFarm.PairConnectionString Property

NOTE: This API is now obsolete.

Gets or sets the connection string to the Windows SharePoint Services 2.0 server farm with which this farm is paired.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")> _
Public Property PairConnectionString As String
    Get
    Set
'Usage
Dim instance As SPFarm
Dim value As String

value = instance.PairConnectionString

instance.PairConnectionString = value
[ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")]
public string PairConnectionString { get; set; }

Property Value

Type: System.String
A string that contains the connection string to the Windows SharePoint Services 2.0 server farm.

Remarks

A paired server farm is one that is connected to a Windows SharePoint Services 2.0 farm.

See Also

Reference

SPFarm Class

SPFarm Members

Microsoft.SharePoint.Administration Namespace