共用方式為


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.

範例

設定屬性