Service クラス

定義

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

public sealed class Service : Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject, Microsoft.SqlServer.Management.Common.IAlterable
type Service = class
    inherit WmiSmoObject
    interface IAlterable
Public NotInheritable Class Service
Inherits WmiSmoObject
Implements IAlterable
継承
実装

プロパティ

名前 説明
AcceptsPause

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

AcceptsStop

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

AdvancedProperties

これは、サーバーとクライアント プロトコルのプロパティを保持するプロパティ バッグです。

Dependencies

これは、サーバーとクライアント プロトコルのプロパティを保持するプロパティ バッグです。

Description

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

DisplayName

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

ErrorControl

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

ExitCode

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

IsHadrEnabled

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

Name

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 WmiSmoObject)
Parent

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

PathName

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

ProcessId

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

Properties

オブジェクトのプロパティ バッグ

(継承元 WmiSmoObject)
ServiceAccount

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

ServiceState

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

StartMode

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

StartupParameters

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

State

オブジェクトの状態を返します。

(継承元 SmoObjectBase)
Type

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

Urn

その場で計算されたオブジェクトの Urn を返します。

(継承元 WmiSmoObject)
UserData

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 SmoObjectBase)

メソッド

名前 説明
Alter()

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

AlterProtocolProperties(ProtocolPropertyCollection)

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 WmiSmoObject)
ChangeHadrServiceSetting(Boolean)

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

ChangePassword(String, String)

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

CheckObjectState()

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 WmiSmoObject)
CreateProtocolPropertyCollection()

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 WmiSmoObject)
GetPropertyManagementObject(ProtocolProperty)

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 WmiSmoObject)
GetPropertyObject(PropertyCollection, DataRow, Object)

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 WmiSmoObject)
GetProtocolPropertyCollection()

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 WmiSmoObject)
ImplInitialize(String[], OrderBy[])

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 WmiSmoObject)
Initialize()

列挙子からプロパティを読み取って、オブジェクトを初期化します。

(継承元 WmiSmoObject)
InvokeMgmtMethod(ManagementObject, ManagementOperationObserver, String, Object[])

InvokeMethod 呼び出しをラップします。 呼び出しが失敗すると、エラー コードが返されます
は例外にマップされます。

(継承元 WmiSmoObject)
InvokeMgmtMethod(ManagementObject, String, Object[])

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 WmiSmoObject)
IsObjectInitialized()

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 WmiSmoObject)
Pause()

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

Refresh()

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

Resume()

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

SetName(String)

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 WmiSmoObject)
SetParentImpl(WmiSmoObject)

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 WmiSmoObject)
SetServiceAccount(String, String)

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

SetState(SqlSmoState)

オブジェクトの状態 (Existing、Dropped など) を設定します。アプリケーションでは、このメソッドの使用を避ける必要があります。

(継承元 SmoObjectBase)
Start()

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

Stop()

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

UpdateObjectState()

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 WmiSmoObject)
Validate(String, Object[])

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

(継承元 SmoObjectBase)

イベント

名前 説明
ManagementStateChange

インスタンス クラスカプセル化: ManagedComputer[@Name='']/Service

適用対象