We recommend using Visual Studio 2017

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 enum ObjectClass

Member nameDescription
DatabaseA Database class.
ObjectOrColumnAn Object or Column class.
SchemaA Schema class.
UserA User class.
DatabaseRoleA DatabaseRole class.
ApplicationRoleAn ApplicationRole class.
SqlAssemblyA SqlAssembly class.
UserDefinedTypeA UserDefinedType class.
SecurityExpressionA SecurityExpression class.
XmlNamespaceA XmlNamespace class.
MessageTypeA MessageType class.
ServiceContractA ServiceContract class.
ServiceA class that represent a service such as the JobServer class.
RemoteServiceBindingA RemoteServiceBinding class.
ServiceRouteA ServiceRoute class.
FullTextCatalogA FullTextCatalog class.
SymmetricKeyA SymmetricKey class.
ServerA Server class.
LoginA Login class.
ServerPrincipalA class that represents a server level principal, such as a Login.
ServerRoleA ServerRole class.
EndpointAn Endpoint class.
CertificateA Certificate class.
FullTextStopListA FullTextStopList class.
AsymmetricKeyAn AsymmetricKey class.

The ObjectClass enumeration class is served by the ObjectClass property.