ServerEventArgs.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.

SMO 이벤트 처리

참고 항목

참조

ServerEventArgs 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스