ObjectClass 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
參見引擎規範:CatalogViewsRef:附錄 通用實體類別 下表代表系統中實體類別的領域,定義於標頭檔 cmedscan.h。 實體類別的使用方式包括:這裡sys.database_permissions sys.server_permissions sys.extended_properties僅包含可保護的物件
public enum ObjectClass
type ObjectClass =
Public Enum ObjectClass
- 繼承
-
ObjectClass
欄位
| 名稱 | 值 | Description |
|---|---|---|
| Database | 0 | 資料庫。 |
| ObjectOrColumn | 1 | 一個物件(Table、StoredProcedure 等)或欄位。 |
| Schema | 3 | 結構描述。 |
| SqlAssembly | 5 | 集會 |
| UserDefinedType | 6 | 使用者定義型別 |
| SecurityExpression | 8 | 安全表情。 |
| XmlNamespace | 10 | XML 命名空間 |
| MessageType | 15 | 訊息類型 |
| ServiceContract | 16 | 訊息合約 |
| Service | 17 | 服務(經紀人) |
| RemoteServiceBinding | 18 | |
| ServiceRoute | 19 | |
| FullTextCatalog | 23 | 全文目錄 |
| SymmetricKey | 24 | 對稱鍵 |
| Certificate | 25 | 證書 |
| AsymmetricKey | 26 | AsymmetricKey |
| FullTextStopList | 29 | 全文停止清單 |
| SearchPropertyList | 31 | 搜尋屬性清單 |
| Server | 100 | Server |
| Login | 101 | 登錄 |
| Endpoint | 105 | 終點 |
| AvailabilityGroup | 108 | 可用性集團 |
| User | 200 | 使用者。 |
| DatabaseRole | 201 | 資料庫角色。 |
| ApplicationRole | 202 | 應用程式角色。 |
| ServerPrincipal | 300 | 登入。 |
| ServerRole | 301 | 伺服器角色。 |
| ExternalDataSource | 302 | 外部資料來源 |
| ExternalFileFormat | 303 | 外部檔案格式 |