Gets the instance name of the instance of SQL Server.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Return to top
Theproperty specifies the name of the instance of SQL Server. This is usually the computer name but it may be a named instance that was specified during setup. will return an empty string for the default instance.