Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Gets the service name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayNameKeyAttribute("Server_ServiceNameName")> _
<DisplayDescriptionKeyAttribute("Server_ServiceNameDesc")> _
ReadOnly Property ServiceName As String
Get
'Usage
Dim instance As IServerSetupFacet
Dim value As String
value = instance.ServiceName
[DisplayNameKeyAttribute("Server_ServiceNameName")]
[DisplayDescriptionKeyAttribute("Server_ServiceNameDesc")]
string ServiceName { get; }
[DisplayNameKeyAttribute(L"Server_ServiceNameName")]
[DisplayDescriptionKeyAttribute(L"Server_ServiceNameDesc")]
property String^ ServiceName {
String^ get ();
}
[<DisplayNameKeyAttribute("Server_ServiceNameName")>]
[<DisplayDescriptionKeyAttribute("Server_ServiceNameDesc")>]
abstract ServiceName : string
function get ServiceName () : String
Property Value
Type: System.String
A String value that specifies the service name.