CachedDataItem.Schema 属性
如果 CachedDataItem 所表示的缓存数据对象为 DataSet 或 DataTable,则获取或设置描述该缓存数据对象的架构。
命名空间: Microsoft.VisualStudio.Tools.Applications
程序集: Microsoft.VisualStudio.Tools.Applications.ServerDocument(在 Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll 中)
语法
声明
Public Property Schema As String
Get
Set
public string Schema { get; set; }
属性值
类型:System.String
如果缓存数据对象为 DataSet 或 DataTable,则此属性返回一个描述该缓存数据对象的架构;否则返回 nullnull 引用(在 Visual Basic 中为 Nothing)。
示例
有关演示如何使用 Schema 属性的代码示例,请参见 ServerDocument Sample。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。