SPMigratableSiteCollection.Add 方法

请注意:此 API 现在已过时。

将网站集添加到集合的可迁移的站点集合。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")> _
Public Sub Add ( _
    item As SPSite _
)
用法
Dim instance As SPMigratableSiteCollection
Dim item As SPSite

instance.Add(item)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")]
public void Add(
    SPSite item
)

参数

实现

ICollection<T>.Add(T)

另请参阅

引用

SPMigratableSiteCollection 类

SPMigratableSiteCollection 成员

Microsoft.SharePoint.Administration 命名空间