Aracılığıyla paylaş


IServerSetupFacet.ServiceName Property

Gets the service name.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
<DisplayDescriptionKeyAttribute("Server_ServiceNameDesc")> _
<DisplayNameKeyAttribute("Server_ServiceNameName")> _
ReadOnly Property ServiceName As String
    Get
'Kullanım
Dim instance As IServerSetupFacet
Dim value As String

value = instance.ServiceName
[DisplayDescriptionKeyAttribute("Server_ServiceNameDesc")]
[DisplayNameKeyAttribute("Server_ServiceNameName")]
string ServiceName { get; }
[DisplayDescriptionKeyAttribute(L"Server_ServiceNameDesc")]
[DisplayNameKeyAttribute(L"Server_ServiceNameName")]
property String^ ServiceName {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("Server_ServiceNameDesc")>]
[<DisplayNameKeyAttribute("Server_ServiceNameName")>]
abstract ServiceName : string
function get ServiceName () : String

Property Value

Type: System.String
A String value that specifies the service name.

Examples

Setting Properties

See Also

Reference

IServerSetupFacet Interface

Microsoft.SqlServer.Management.Smo Namespace