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

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULMetaDataCollectionNames class

DataTypes property Next Page

ForeignKeys property


Provides a constant for use with the ULConnection.GetSchema(String) that represents the ForeignKeys collection.

Syntax

Visual Basic

Public Shared Readonly Property ForeignKeys As String

C#

public const string ForeignKeys { get;}

Property value

A string representing the name of the ForeignKeys collection.

Example

The following code fills a DataTable with the ForeignKeys collection.

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

// C#
DataTable schema =
  conn.GetSchema( ULMetaDataCollectionNames.ForeignKeys );
See also