Freigeben über


HasScript-Eigenschaft

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

Eigenschaftswert

Typ: System. . :: . .Boolean
A Boolean object that specifies whether the policy has a script.
If True, the policy has a script. Otherwise, False.