Partager via


Propriété HasScript

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

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Public ReadOnly Property HasScript As Boolean
    Get
'Utilisation
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

Valeur de propriété

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