DatabaseObjectTypes Enumeration

 

Specifies the types of database object.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute]
public enum DatabaseObjectTypes

Member nameDescription
All

All object types are represented.

ApplicationRole

The object type is an ApplicationRole type.

AsymmetricKey

The object type is an AsymmetricKey type.

Certificate

The object type is a Certificate type.

ColumnEncryptionKey

The object type is an ColumnEncryptionKey object type.

ColumnMasterKey

The object type is an ColumnMasterKey object type.

DatabaseAuditSpecification

The object type is a DatabaseAuditSpecification type.

DatabaseEncryptionKey

The object type is a DatabaseEncryptionKey type.

DatabaseRole

The object type is a DatabaseRole type.

DatabaseScopedCredential

The object type is an DatabaseScopedCredentialCollection object type.

Default

The object type is a Default object type.

ExtendedStoredProcedure

The object type is an ExtendedStoredProcedure object type.

ExternalDataSource

The object type is an ExternalDataSource object type.

ExternalFileFormat

The object type is an ExternalFileFormat object type.

Federation

The object type is a Federation object type.

FullTextCatalog

The object type is a FullTextCatalog object type.

FullTextStopList
MessageType

The object type is a MessageType object type.

PartitionFunction

The object type is a PartitionFunction object type.

PartitionScheme

The object type is a PartitionScheme object type.

PlanGuide

The object type is a PlanGuide object type.

QueryStoreOptions

The object type is an QueryStoreOptions object type.

RemoteServiceBinding

The object type is a RemoteServiceBinding object type.

Rule

The object type is a Rule object type.

Schema

The object type is a Schema object type.

SearchPropertyList

The object type is a SearchPropertyList object type.

SecurityPolicy

The object type is an SecurityPolicy object type.

Sequence

The object type is a Sequence object type.

ServiceBroker

The object type is a ServiceBroker object type.

ServiceContract

The object type is a ServiceContract object type.

ServiceQueue

The object type is a ServiceQueue object type.

ServiceRoute

The object type is a ServiceRoute object type.

SqlAssembly

The object type is a SqlAssembly object type.

StoredProcedure

The object type is a StoredProcedure object type.

SymmetricKey

The object type is a SymmetricKey type.

Synonym

The object type is a Synonym object type.

Table

The object type is a Table object type.

User

The object type is a User object type.

UserDefinedAggregate

The object type is a UserDefinedAggregate object type.

UserDefinedDataType

The object type is a UserDefinedDataType object type.

UserDefinedFunction

The object type is a UserDefinedFunction object type.

UserDefinedTableTypes

The object type is a T:Microsoft.SqlServer.Management.Smo.UserDefinedTableTypes object type.

UserDefinedType

The object type is a UserDefinedType object type.

View

The object type is a View object type.

XmlSchemaCollection

The object type is an XmlSchemaCollection object type.

The DatabaseObjectTypes enumeration class is served by the EnumObjects method.

Return to top
Show: