Server.ServiceName Property
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property ServiceName As String
Get
'Usage
Dim instance As Server
Dim value As String
value = instance.ServiceName
[SfcPropertyAttribute]
public string ServiceName { get; }
[SfcPropertyAttribute]
public:
property String^ ServiceName {
String^ get ();
}
[<SfcPropertyAttribute>]
member ServiceName : string
function get ServiceName () : String
Property Value
Type: System.String