SPPersistedTypeCollection 构造函数
根据给定的**[System.Type]参数中指定[Microsoft.SharePoint.Administration.SPFarm]的[Microsoft.SharePoint.Administration.SPPersistedTypeCollection]**类的新实例进行初始化。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:Microsoft.SharePoint.Administration.SPFarmSharePoint 父服务器场中。
type
类型:System.Type一个**[System.Type]**对象。