SqlCollectionBase.SqlEnumerator Class
The SqlCollectionBase.SqlEnumerator class is a nested helper class within the SqlCollectionBase class that implements the IEnumerable interface and provides methods to support iterating over the members of a collection that inherits from SqlCollectionBase.
System.Object
Microsoft.SharePoint.Portal.Topology.SqlCollectionBase.SqlEnumerator
Public Methods
The following table shows the public methods of the SqlEnumerator class and a brief description of each.
Name | Description |
---|---|
Dispose | Cleans up resources used by the class. |
MoveNext | Moves to the next item in the collection. |
Reset | Reinitializes the collection. |
Protected Methods
The following table shows the protected methods of the SqlEnumerator class and a brief description of each.
Name | Description |
---|---|
Finalize | Cleans up resources when the Dispose method is not called. |
Public Properties
The following table shows the properties of the SqlEnumerator class, the data type of each property, and a brief description of each.
Name | Data type | Description |
---|---|---|
Current | object | Gets the current item in the collection. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.
Remarks
To use the properties and methods of the objects in the Topology namespace you must be a member of the local STS_WPG and SPS_WPG security groups, and a member of the db_owner database role for the configuration database.
In addition, for certain methods, such as those that create a portal site, you must be a member of the local Administrators group, and have membership in the Database Creators and Security Administrators server roles in the SQL Server instance that hosts the configuration database.
Requirements
Namespace: Microsoft.SharePoint.Portal.Topology
Platforms: Microsoft Windows Server 2003
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Security: Code Access Security