SPPersistedTypeCollection constructor
初始化指定的**[System.Type]參數中指定的[Microsoft.SharePoint.Administration.SPFarm]為基礎的[Microsoft.SharePoint.Administration.SPPersistedTypeCollection]**類別的新執行個體。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
farm As SPFarm, _
type As Type _
)
'用途
Dim farm As SPFarm
Dim type As Type
Dim instance As New SPPersistedTypeCollection(farm, type)
public SPPersistedTypeCollection(
SPFarm farm,
Type type
)
參數
farm
Type: Microsoft.SharePoint.Administration.SPFarmSharePoint 父項伺服器陣列。
type
Type: System.Type**[System.Type]**物件。
請參閱
參照
SPPersistedTypeCollection class