共用方式為


Add 方法

Adds a plan guide object to the collection.

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

語法

'宣告
Public Sub Add ( _
    planGuide As PlanGuide _
)
'用途
Dim instance As PlanGuideCollection
Dim planGuide As PlanGuide

instance.Add(planGuide)
public void Add(
    PlanGuide planGuide
)
public:
void Add(
    PlanGuide^ planGuide
)
member Add : 
        planGuide:PlanGuide -> unit 
public function Add(
    planGuide : PlanGuide
)