SPListDataSource.GetProperty method
在 [外部資料來源傳回屬性的值。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function GetProperty ( _
key As String _
) As String
'用途
Dim instance As SPListDataSource
Dim key As String
Dim returnValue As String
returnValue = instance.GetProperty(key)
public string GetProperty(
string key
)
參數
key
Type: System.String要傳回之屬性的名稱。
傳回值
Type: System.String
屬性的值。
備註
有效的屬性名稱是LobSystemInstance、 EntityNamespace、 Entity和SpecificFinder。如果找不到屬性,這個方法會傳回 null,並整合記錄服務 (ULS) 記錄檔中建立一個項目。