SqlCollectionBase Class
The SqlCollectionBase class is the abstract class from which objects in the TopologyObjectCollectionBase class inherit. This class represents a collection of objects in the topology whose definitions are stored in databases.
System.Object
Microsoft.SharePoint.Portal.Topology.SqlCollectionBase
Public Constructors
The following table shows the constructors of the SqlCollectionBase class and a brief description of each.
Name | Description |
---|---|
SqlCollectionBase | Initializes a new instance of the SqlCollectionBase class. |
Public Methods
The following table shows the public methods of the SqlCollectionBase class and a brief description of each.
Name | Description |
---|---|
GetEnumerator | Override to implement the GetEnumerator method of the IEnumerable interface to allow iterating over the collection. |
Protected Methods
The following table shows the protected methods of the SqlCollectionBase class and a brief description of each.
Name | Description |
---|---|
CreateSqlCollectionItem(System.Data.SqlClient.SqlDataReader) | Override to populate the values of properties for a single item in the collection. |
InitializeSqlCollection | Override to initialize the collection. |
Public Properties
The following table shows the properties of the SqlCollectionBase class, the data type of each property, and a brief description of each.
Name | Data type | Description |
---|---|---|
IsEmpty | Boolean | Gets a value that indicates if the collection is empty. |
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