SPListDataSource.SetProperty method

Sets a property about the external data source.

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

Syntax

'Declaration
Public Sub SetProperty ( _
    key As String, _
    value As String _
)
'Usage
Dim instance As SPListDataSource
Dim key As String
Dim value As String

instance.SetProperty(key, value)
public void SetProperty(
    string key,
    string value
)

Parameters

Exceptions

Exception Condition
ArgumentException

The list of safe external system properties does not contain the specified property.

Remarks

This method sets the value specified by the value parameter to the property about the external system specified by the key parameter. Valid property names are LobSystemInstance, EntityNamespace, Entity, and SpecificFinder.

See also

Reference

SPListDataSource class

SPListDataSource members

Microsoft.SharePoint namespace