Share via


CachedDataItem.Schema Property

Gets or sets a schema that describes the cached data object that is represented by the CachedDataItem, if the cached data object is a DataSet or DataTable.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.ServerDocument (in Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll)

Syntax

'Declaration
Public Property Schema As String
    Get
    Set
public string Schema { get; set; }

Property Value

Type: System.String
If the cached data object is a DataSet or DataTable, this property returns a schema that describes the cached data object; otherwise, nulla null reference (Nothing in Visual Basic).

Examples

For a code example that demonstrates how to use the Schema property, see ServerDocument Sample.

.NET Framework Security

See Also

Reference

CachedDataItem Class

Microsoft.VisualStudio.Tools.Applications Namespace