共用方式為


PlanGuide.Statement 屬性

Gets or sets a plan guide statement (query).

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property Statement As String 
    Get 
    Set
'用途
Dim instance As PlanGuide 
Dim value As String 

value = instance.Statement

instance.Statement = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public string Statement { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property String^ Statement {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member Statement : string with get, set
function get Statement () : String 
function set Statement (value : String)

屬性值

型別:System.String
A plan guide statement (query).

請參閱

參考

PlanGuide 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

設計和實作計畫指南

計畫指南