DataClass 类 (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

Represents the base class for all entities.

命名空间: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public Class DataClass
    Inherits AccessControlledMetadataObject
用法
Dim instance As DataClass
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
public class DataClass : AccessControlledMetadataObject

备注

DataClasses are an abstract concept. While Entities represent collections of concrete, persistent, related fields each with a fixed, persistent identity, DataClasses represent collections of non persistent related fields that each have a transient identity. You can think of a DataClass as:

DataClass + Identifier => Entity.

继承层次结构

System.Object
   Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MetadataObject
     Microsoft.Office.Server.ApplicationRegistry.MetadataModel.AccessControlledMetadataObject
      Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataClass
         Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity

线程安全性

此类型的任何公共静态( Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

参考

DataClass 成员
Microsoft.Office.Server.ApplicationRegistry.MetadataModel 命名空间