SPSite.Dispose 方法

Releases all unmanaged resources that are used by the site collection object.

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

语法

声明
Public Sub Dispose
用法
Dim instance As SPSite

instance.Dispose()
public void Dispose()

实现

IDisposable.Dispose()

备注

The Dispose method calls the Close method.

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间