Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULMetaDataCollectionNames 类

 

Restrictions 属性

提供用于与 ULConnection.GetSchema(String) 配合使用的、表示 Restrictions 集合的常量。

语法
Visual Basic
Public Shared Readonly Property Restrictions As String
C#
public const string  Restrictions { get;}
属性值

表示 Restrictions 集合名称的字符串。

示例

以下代码使用 Restrictions 集合填充 DataTable。

' Visual Basic
Dim schema As DataTable = _
  conn.GetSchema( ULMetaDataCollectionNames.Restrictions )

// C#
DataTable schema =
  conn.GetSchema( ULMetaDataCollectionNames.Restrictions );
另请参见