共用方式為


Statement 屬性

Gets or sets a plan guide statement (query).

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

語法

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

value = instance.Statement

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

屬性值

型別:System. . :: . .String
String