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

SQL Anywhere 11.0.1 (日本語) » SQL Anywhere サーバ - プログラミング » SQL Anywhere データ・アクセス API » SQL Anywhere .NET 2.0 API リファレンス » iAnywhere.Data.SQLAnywhere ネームスペース (.NET 2.0) » SAConnection クラス

 

DataSource プロパティ

データベース・サーバの名前を取得します。

構文
Visual Basic

Public Overrides Readonly Property DataSource As String
C#

public override string  DataSource { get;}
備考

接続が開かれると、SAConnection オブジェクトが ServerName サーバ・プロパティを返します。それ以外の場合、SAConnection オブジェクトは EngineName、ServerName、ENG の順に接続文字列を参照します。

参照