IServerSetupFacet.ServiceName Property
Applies To: SQL Server 2016 Preview
Gets the service name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
[DisplayDescriptionKeyAttribute("Server_ServiceNameDesc")]
[DisplayNameKeyAttribute("Server_ServiceNameName")]
string ServiceName { get; }
[DisplayDescriptionKeyAttribute("Server_ServiceNameDesc")]
[DisplayNameKeyAttribute("Server_ServiceNameName")]
property String^ ServiceName {
String^ get();
}
[<DisplayDescriptionKeyAttribute("Server_ServiceNameDesc")>]
[<DisplayNameKeyAttribute("Server_ServiceNameName")>]
abstract ServiceName : string with get
<DisplayDescriptionKeyAttribute("Server_ServiceNameDesc")>
<DisplayNameKeyAttribute("Server_ServiceNameName")>
ReadOnly Property ServiceName As String
Property Value
Type: System.String
A String value that specifies the service name.
Examples
Legacy Code Example
See Also
IServerSetupFacet Interface
Microsoft.SqlServer.Management.Smo Namespace
Return to top