Share via


Propriété ConnectionSettings.ApplicationName

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

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Public Property ApplicationName As String 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

Type : System.String
A String value that specifies the name of the application.

Voir aussi

Référence

ConnectionSettings Classe

Espace de noms Microsoft.SqlServer.Management.Common