Server.ServiceName 속성
Gets the service name for the server.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ServiceName As String
Get
‘사용 방법
Dim instance As Server
Dim value As String
value = instance.ServiceName
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string ServiceName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ ServiceName {
String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ServiceName : string
function get ServiceName () : String
속성 값
유형: System.String
A string containing the service name.