다음을 통해 공유


SqlInstance 속성

Gets the instance of SQL Server on which the event occurred.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public ReadOnly Property SqlInstance As String
    Get
‘사용 방법
Dim instance As ServerEventArgs
Dim value As String

value = instance.SqlInstance
public string SqlInstance { get; }
public:
property String^ SqlInstance {
    String^ get ();
}
member SqlInstance : string
function get SqlInstance () : String

속성 값

유형: System. . :: . .String
A String value that specifies the name of the instance of SQL Server on which the event occurred.