Initializes a new instance of the SfcDependencyEngine class. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Sub New ( _
mode As SfcDependencyDiscoveryMode, _
action As SfcDependencyAction _
)
'用途
Dim mode As SfcDependencyDiscoveryMode
Dim action As SfcDependencyAction
Dim instance As New SfcDependencyEngine(mode, action)
public SfcDependencyEngine(
SfcDependencyDiscoveryMode mode,
SfcDependencyAction action
)
public:
SfcDependencyEngine(
SfcDependencyDiscoveryMode mode,
SfcDependencyAction action
)
new :
mode:SfcDependencyDiscoveryMode *
action:SfcDependencyAction -> SfcDependencyEngine
public function SfcDependencyEngine(
mode : SfcDependencyDiscoveryMode,
action : SfcDependencyAction
)
參數
- mode
型別:Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyDiscoveryMode
The discovery mode for the dependency engine instance. This is set at construction and cannnot be changed.
- action
型別:Microsoft.SqlServer.Management.Sdk.Sfc.SfcDependencyAction
The intended action for the dependency engine instance. This is set at construction and cannot be changed.