หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Gets the instance of SQL Server on which the event occurred.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Property SqlInstance As String
Get
'Usage
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
Property Value
Type: System.String
A String value that specifies the name of the instance of SQL Server on which the event occurred.