DatabaseObjectTypes Enumeration

The DatabaseObjectTypes enumeration is a list of constant values that 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)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration DatabaseObjectTypes
'Usage
Dim instance As DatabaseObjectTypes
[FlagsAttribute]
public enum DatabaseObjectTypes
[FlagsAttribute]
public enum class DatabaseObjectTypes
[<FlagsAttribute>]
type DatabaseObjectTypes
public enum DatabaseObjectTypes

Members

Member name Description
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.
DatabaseAuditSpecification The object type is a DatabaseAuditSpecification type.
DatabaseEncryptionKey The object type is a DatabaseEncryptionKey type.
DatabaseRole The object type is a DatabaseRole type.
Default The object type is a Default object type.
ExtendedStoredProcedure The object type is an ExtendedStoredProcedure object type.
Federation The object type is a Federation object type.
FullTextCatalog The object type is a FullTextCatalog object type.
FullTextStopList The object type is a FullTextStoplist object type.
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.
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.
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 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.

Remarks

The DatabaseObjectTypes enumeration class is served by the EnumObjects method.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace