IEntityInstanceEnumerator.Close 方法 (Microsoft.Office.Server.ApplicationRegistry.Runtime)
Closes the enumerator.
命名空间: Microsoft.Office.Server.ApplicationRegistry.Runtime
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)
语法
声明
Sub Close
用法
Dim instance As IEntityInstanceEnumerator
instance.Close
void Close ()
备注
This is a very important method. Always close the enumerator when you have finished using it to prevent connection leaks.
另请参阅
参考
IEntityInstanceEnumerator 接口
IEntityInstanceEnumerator 成员
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间