Compartilhar via


Propriedade HasScript

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

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

Sintaxe

'Declaração
Public ReadOnly Property HasScript As Boolean
    Get
'Uso
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

Valor da propriedade

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

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.