Server.ServiceName Server.ServiceName Server.ServiceName Property

Definition

Gets the service name for the server.

public:
 property System::String ^ ServiceName { System::String ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone)]
public string ServiceName { get; }
Public ReadOnly Property ServiceName As String
Property Value

A string containing the service name.

Applies to