IServerSetupFacet.ServiceName Property
Gets the service name. This property is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<DisplayNameKeyAttribute("Server_ServiceNameName")> _
<DisplayDescriptionKeyAttribute("Server_ServiceNameDesc")> _
ReadOnly Property ServiceName As String
[DisplayNameKeyAttribute("Server_ServiceNameName")]
[DisplayDescriptionKeyAttribute("Server_ServiceNameDesc")]
string ServiceName { get; }
[DisplayNameKeyAttribute(L"Server_ServiceNameName")]
[DisplayDescriptionKeyAttribute(L"Server_ServiceNameDesc")]
property String^ ServiceName {
String^ get ();
}
/** @property */
String get_ServiceName ()
function get ServiceName () : String
Property Value
A String value that specifies the service name.
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.