Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Server.ServiceName Property

Gets the service name for the server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ServiceName As String 
Dim instance As Server 
Dim value As String 

value = instance.ServiceName

Property Value

Type: System.String
A string containing the service name.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.