Поделиться через


Свойство ApplicationName

Gets or sets the name of the application that has established the connection with the server.

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Public Property ApplicationName As String
    Get
    Set
'Применение
Dim instance As ConnectionSettings
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
A String value that specifies the name of the application.