Share via


Condition.HasScript Property

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

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public ReadOnly Property HasScript As Boolean 
    Get
'Usage
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

Property Value

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

Examples

C#

System.Console.WriteLine(c.HasScript);

VB

System.Console.WriteLine(c.HasScript)

See Also

Reference

Condition Class

Microsoft.SqlServer.Management.Dmf Namespace