Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.19 KB

File metadata and controls

41 lines (34 loc) · 1.19 KB
title ServerName Property (SqlServerAlias Class) | Microsoft Docs
ms.custom
ms.date 06/13/2017
ms.prod sql-server-2014
ms.reviewer
ms.technology wmi
ms.topic reference
api_name
ServerName Property (SqlServerAlias Class)
api_location
sqlmgmproviderxpsp2up.mof
topic_type
apiref
helpviewer_keywords
ServerName property
ms.assetid 58c82b19-b548-42fa-9c5a-059b606da097
author CarlRabeler
ms.author carlrab
manager craigg

ServerName Property (SqlServerAlias Class)

Gets the name of the instance of [!INCLUDEmsCoName] [!INCLUDEssNoVersion] specified by the server connection alias.

Syntax

  
object  
.ServerName [= value]  

Parts

object
A SqlServerAlias Class object that represents a [!INCLUDEssNoVersion] alias.

Property Value/Return Value

A string value that specifies the name of the instance of [!INCLUDEssNoVersion] referenced by the server connection alias.

Remarks