DatabaseObjectTypes Enumeration

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

命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

語法

'宣告
<FlagsAttribute> _
Public Enumeration DatabaseObjectTypes
[FlagsAttribute] 
public enum DatabaseObjectTypes
[FlagsAttribute] 
public enum class DatabaseObjectTypes
/** @attribute FlagsAttribute() */ 
public enum DatabaseObjectTypes
FlagsAttribute 
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.
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.
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.
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.
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.
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.

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

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo Namespace