Поделиться через


Перечисление DatabaseObjectTypes

The DatabaseObjectTypes enumeration is a list of constant values that specifies the types of database object.

Это перечисление имеет атрибут FlagsAttribute, допускающий побитовое сочетание значений его элементов.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<FlagsAttribute> _
Public Enumeration DatabaseObjectTypes
'Применение
Dim instance As DatabaseObjectTypes
[FlagsAttribute]
public enum DatabaseObjectTypes
[FlagsAttribute]
public enum class DatabaseObjectTypes
[<FlagsAttribute>]
type DatabaseObjectTypes
public enum DatabaseObjectTypes

Элементы

Имя элемента Описание
ApplicationRole The object type is an ApplicationRole type.
ServiceBroker The object type is a ServiceBroker object type.
Default The object type is a Default object type.
ExtendedStoredProcedure The object type is an ExtendedStoredProcedure object type.
FullTextCatalog The object type is a FullTextCatalog 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.
DatabaseRole The object type is a DatabaseRole 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.
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.
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.
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.
SymmetricKey The object type is a SymmetricKey type.
Certificate The object type is a Certificate type.
AsymmetricKey The object type is an AsymmetricKey type.
UserDefinedTableTypes The object type is a UserDefinedTableTypes object type.
PlanGuide The object type is a PlanGuide object type.
DatabaseEncryptionKey The object type is a DatabaseEncryptionKey type.
DatabaseAuditSpecification The object type is a DatabaseAuditSpecification type.
FullTextStopList The object type is a FullTextStoplist object type.
All All object types are represented.

Замечания

The DatabaseObjectTypes enumeration class is served by the EnumObjects method.