ObjectClass Enumeration

The ObjectClass enumeration contains values that specify the SQL Server Management Objects (SMO) class type.

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

public enum ObjectClass
public enum ObjectClass
public enum ObjectClass

Member nameDescription
ApplicationRoleAn ApplicationRole class.
CertificateA Certificate class.
DatabaseA Database class.
DatabaseRoleA DatabaseRole class.
EndpointAn Endpoint class.
FullTextCatalogA FullTextCatalog class.
LoginA Login class.
MessageTypeA MessageType class.
ObjectOrColumnAn Object or Column class.
RemoteServiceBindingA RemoteServiceBinding class.
SchemaA Schema 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.
XmlNamespaceAn XmlSchemaCollection class.

The ObjectClass enumeration class is served by the ObjectClass property.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions