مشاركة عبر


Policy.HasScript Property

Gets the Boolean value that specifies whether the policy 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 Policy 
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 object that specifies whether the policy has a script.If True, the policy has a script. Otherwise, False.

Examples

Setting Properties

See Also

Reference

Policy Class

Microsoft.SqlServer.Management.Dmf Namespace