ObjectClass Enumeration

The ObjectClass enumeration contains values that specify the SMO class type.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)


Public Enumeration ObjectClass
Dim instance As ObjectClass
public enum ObjectClass
public enum class ObjectClass
type ObjectClass
public enum ObjectClass


Member name Description
Database A Database class.
ObjectOrColumn An Object or Column class.
Schema A Schema class.
User A User class.
DatabaseRole A DatabaseRole class.
ApplicationRole An ApplicationRole class.
SqlAssembly A SqlAssembly class.
UserDefinedType A UserDefinedType class.
SecurityExpression A SecurityExpression class.
XmlNamespace A XmlNamespace class.
MessageType A MessageType class.
ServiceContract A ServiceContract class.
Service A class that represent a service such as the JobServer class.
RemoteServiceBinding A RemoteServiceBinding class.
ServiceRoute A ServiceRoute class.
FullTextCatalog A FullTextCatalog class.
SymmetricKey A SymmetricKey class.
Server A Server class.
Login A Login class.
ServerPrincipal A class that represents a server level principal, such as a Login.
ServerRole A ServerRole class.
Endpoint An Endpoint class.
Certificate A Certificate class.
FullTextStopList A FullTextStopList class.
AsymmetricKey An AsymmetricKey class.


The ObjectClass enumeration class is served by the ObjectClass property.