Compartilhar via


DatabaseObjectTypes Enumeration

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

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

Syntax

'Declaration
<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.

Remarks

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.

Platforms

Development Platforms

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

Target Platforms

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

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace