HasScript 属性

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

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Public ReadOnly Property HasScript As Boolean
    Get
用法
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

属性值

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

示例

设置属性