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

The ObjectClass enumeration class is served by the ObjectClass property.

Community Additions