Share via


SPListDataSource.GetProperty method

Returns the value of a property in the external data source.

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

Syntax

'Declaration
Public Function GetProperty ( _
    key As String _
) As String
'Usage
Dim instance As SPListDataSource
Dim key As String
Dim returnValue As String

returnValue = instance.GetProperty(key)
public string GetProperty(
    string key
)

Parameters

Return value

Type: System.String
The value of the property.

Remarks

Valid property names are LobSystemInstance, EntityNamespace, Entity, and SpecificFinder. If the property cannot be found, this method returns null, and an entry is created in the Unified Logging Service (ULS) log files.

See also

Reference

SPListDataSource class

SPListDataSource members

Microsoft.SharePoint namespace