IServerSetupFacet.InstanceName Property
Gets the name of the instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
<DisplayNameKeyAttribute("Server_InstanceNameName")> _
<DisplayDescriptionKeyAttribute("Server_InstanceNameDesc")> _
ReadOnly Property InstanceName As String
Get
'Kullanım
Dim instance As IServerSetupFacet
Dim value As String
value = instance.InstanceName
[DisplayNameKeyAttribute("Server_InstanceNameName")]
[DisplayDescriptionKeyAttribute("Server_InstanceNameDesc")]
string InstanceName { get; }
[DisplayNameKeyAttribute(L"Server_InstanceNameName")]
[DisplayDescriptionKeyAttribute(L"Server_InstanceNameDesc")]
property String^ InstanceName {
String^ get ();
}
[<DisplayNameKeyAttribute("Server_InstanceNameName")>]
[<DisplayDescriptionKeyAttribute("Server_InstanceNameDesc")>]
abstract InstanceName : string
function get InstanceName () : String
Property Value
Type: System.String
A String value that specifies the name of the instance of SQL Server.