共用方式為


SPPersistedTypeCollection.InitializeFromDatabase method

擷取資料列集取決於此集合的物件的集合。

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

Syntax

'宣告
Protected Function InitializeFromDatabase As SqlDataReader
'用途
Dim returnValue As SqlDataReader

returnValue = Me.InitializeFromDatabase()
protected SqlDataReader InitializeFromDatabase()

傳回值

Type: System.Data.SqlClient.SqlDataReader
SqlDataReader 物件,其中包含的資料列集。

請參閱

參照

SPPersistedTypeCollection class

SPPersistedTypeCollection members

Microsoft.SharePoint.Administration namespace