Dela via


Property.ISfcProperty.Required Property

Gets the Boolean property value that specifies whether the property is required,.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Private ReadOnly Property Required As Boolean
    Implements ISfcProperty.Required
    Get
'Usage
Dim instance As [Property]
Dim value As Boolean

value = CType(instance, ISfcProperty).Required
bool ISfcProperty.Required { get; }
private:
virtual property bool Required {
    bool get () sealed = ISfcProperty::Required::get;
}
private abstract Required : bool
private override Required : bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: System.Boolean
A Boolean value that specifies whether the property is required.
If True, the property is required.
If False (default), the property is not required.
Always returns False.

Implements

ISfcProperty.Required