共用方式為


ObjectClass Enum

Definition

see engine spec: CatalogViewsRef: Appendix Universal Entity Classes The following table represents the domain of entity classes in the system, defined in the header file cmedscan.h. Entity class usages include: sys.database_permissions sys.server_permissions sys.extended_properties included here are only securable objects

public enum ObjectClass
type ObjectClass = 
Public Enum ObjectClass
Inheritance
ObjectClass

Fields

Name Value Description
Database 0

Database.

ObjectOrColumn 1

An object (Table, StoredProcedure, etc), or Column.

Schema 3

Schema.

SqlAssembly 5

Assembly

UserDefinedType 6

User Defined Type

SecurityExpression 8

Security expression.

XmlNamespace 10

XML Namespace

MessageType 15

Message Type

ServiceContract 16

Message Contract

Service 17

Service (Broker)

RemoteServiceBinding 18
ServiceRoute 19
FullTextCatalog 23

Fulltext Catalog

SymmetricKey 24

SymmetricKey

Certificate 25

Certificate

AsymmetricKey 26

AsymmetricKey

FullTextStopList 29

Full Text Stoplist

SearchPropertyList 31

Search Property List

Server 100

Server

Login 101

Login

Endpoint 105

Endpoint

AvailabilityGroup 108

AvailabilityGroup

User 200

User.

DatabaseRole 201

Database role.

ApplicationRole 202

Application role.

ServerPrincipal 300

Login.

ServerRole 301

Server role.

ExternalDataSource 302

ExternalDataSource

ExternalFileFormat 303

ExternalFileFormat

Applies to