共用方式為


EnableAllPlanGuides 方法

啟用資料庫中的所有計畫指南。

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub EnableAllPlanGuides
'用途
Dim instance As Database

instance.EnableAllPlanGuides()
public void EnableAllPlanGuides()
public:
void EnableAllPlanGuides()
member EnableAllPlanGuides : unit -> unit 
public function EnableAllPlanGuides()