다음을 통해 공유


ApplicationName 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo.dll의 Microsoft.SqlServer.ConnectionInfo

구문

‘선언
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.