SqlConnectionInfo.ApplicationName プロパティ

SQL Server のインスタンスに接続しているアプリケーションの名前を取得または設定します。

名前空間:  Microsoft.SqlServer.Management.Common
アセンブリ:  Microsoft.SqlServer.ConnectionInfo (Microsoft.SqlServer.ConnectionInfo.dll)

構文

'宣言
Public Property ApplicationName As String 
    Get 
    Set
'使用
Dim instance As SqlConnectionInfo 
Dim value As String 

value = instance.ApplicationName

instance.ApplicationName = value
public string ApplicationName { get; set; }
public:
property String^ ApplicationName {
    String^ get ();
    void set (String^ value);
}
member ApplicationName : string with get, set
function get ApplicationName () : String 
function set ApplicationName (value : String)

プロパティ値

型: System.String
アプリケーションの名前を示す String 値です。

関連項目

参照

SqlConnectionInfo クラス

Microsoft.SqlServer.Management.Common 名前空間