IServerSetupFacet.InstanceName Property
Gets the name of the instance of SQL Server. This property is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<DisplayDescriptionKeyAttribute("Server_InstanceNameDesc")> _
<DisplayNameKeyAttribute("Server_InstanceNameName")> _
ReadOnly Property InstanceName As String
[DisplayDescriptionKeyAttribute("Server_InstanceNameDesc")]
[DisplayNameKeyAttribute("Server_InstanceNameName")]
string InstanceName { get; }
[DisplayDescriptionKeyAttribute(L"Server_InstanceNameDesc")]
[DisplayNameKeyAttribute(L"Server_InstanceNameName")]
property String^ InstanceName {
String^ get ();
}
/** @property */
String get_InstanceName ()
function get InstanceName () : String
Property Value
A String value that specifies the name of the instance of SQL Server.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.