Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Gets the name of the instance of SQL Server with which the object is associated.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Protected Overridable Function GetServerName As String
'Usage
Dim returnValue As String
returnValue = Me.GetServerName()
protected virtual string GetServerName()
protected:
virtual String^ GetServerName()
abstract GetServerName : unit -> string
override GetServerName : unit -> string
protected function GetServerName() : String
Return Value
Type: System.String
A String value that specifies the name of the instance of SQL Server.