Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the name of the application that has established the connection with the server.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Public Property ApplicationName As String
Get
Set
'Usage
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)
Property Value
Type: String
A String value that specifies the name of the application.