Compartilhar via


Connection.ConnectionString Property

NOTE: This API is now obsolete.

Gets or sets the connection string for the connection.

Namespace:  Microsoft.SharePoint.Dsp
Assembly:  Microsoft.SharePoint.Dsp (in Microsoft.SharePoint.Dsp.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use the Lists web service instead.")> _
Public Property ConnectionString As String
    Get
    Set
'Usage
Dim instance As Connection
Dim value As String

value = instance.ConnectionString

instance.ConnectionString = value
[ObsoleteAttribute("Use the Lists web service instead.")]
public string ConnectionString { get; set; }

Property Value

Type: System.String
A string that contains the connection string.

Remarks

The ConnectionString property applies only to the OLEDB adapter, and the value must be the OLEDB connection string that is needed to connect to the back-end data source.

See Also

Reference

Connection Class

Connection Members

Microsoft.SharePoint.Dsp Namespace