Condividi tramite


Proprietà SqlConnectionInfo.ApplicationName

Gets or sets the name of the application that is connected to the instance of SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
Public Property ApplicationName As String 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

Tipo: String
A String value that specifies the name of the application.

Vedere anche

Riferimento

SqlConnectionInfo Classe

Spazio dei nomi Microsoft.SqlServer.Management.Common