Expand Minimize
This topic has not yet been rated - Rate this topic

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 virtual string GetServerName()

Return Value

Type: System.String
A String value that specifies the name of the instance of SQL Server.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.