The GetClassification method of the TopologyManager class analyzes the topology of the server farm and returns a value from the TopologyClassification enumeration that indicates the classification of the topology.
One of the Microsoft.SharePoint.Portal.Topology.TopologyClassification values that indicates the classification of the topology (for example, "standalone," "enterprise," "federated client").
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.
Platforms: Microsoft Windows Server 2003
Security: Code Access Security