共用方式為


Required 屬性

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Property Required As Boolean
    Get
    Set
'用途
Dim instance As SfcPropertyAttribute
Dim value As Boolean

value = instance.Required

instance.Required = value
public bool Required { get; set; }
public:
property bool Required {
    bool get ();
    void set (bool value);
}
member Required : bool with get, set
function get Required () : boolean
function set Required (value : boolean)

屬性值

型別:System. . :: . .Boolean
true if the SfcPropertyAttribute is required; otherwise, false.