共用方式為


SPListDataSource.GetProperty Method

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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