Export (0) Print
Expand All
Expand Minimize

SqlSmoObject.GetServerName Method

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)

Protected Overridable Function GetServerName As String
Dim returnValue As String 

returnValue = Me.GetServerName()

Return Value

Type: String
A String value that specifies the name of the instance of SQL Server.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft