共用方式為


Condition.HasScript 屬性

Gets the Boolean value that specifies whether the condition has a script.

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

語法

'宣告
Public ReadOnly Property HasScript As Boolean 
    Get
'用途
Dim instance As Condition 
Dim value As Boolean 

value = instance.HasScript
public bool HasScript { get; }
public:
property bool HasScript {
    bool get ();
}
member HasScript : bool
function get HasScript () : boolean

屬性值

型別:System.Boolean
A Boolean value that specifies whether the condition has a script.If True, the condition has a script. Otherwise, False.

範例

C#

System.Console.WriteLine(c.HasScript);

VB

System.Console.WriteLine(c.HasScript)

請參閱

參考

Condition 類別

Microsoft.SqlServer.Management.Dmf 命名空間