ServiceName プロパティ
サービスの名前を取得します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<DisplayDescriptionKeyAttribute("Server_ServiceNameDesc")> _
<DisplayNameKeyAttribute("Server_ServiceNameName")> _
ReadOnly Property ServiceName As String
Get
'使用
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
プロパティ値
型: System. . :: . .String
サービスの名前を示す String 値です。