Freigeben über


Parameter.IsReadOnly-Eigenschaft

Gets or sets whether the parameter is read only.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property IsReadOnly As Boolean 
    Get 
    Set
'Usage
Dim instance As Parameter 
Dim value As Boolean 

value = instance.IsReadOnly

instance.IsReadOnly = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool IsReadOnly { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property bool IsReadOnly {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member IsReadOnly : bool with get, set
function get IsReadOnly () : boolean 
function set IsReadOnly (value : boolean)

Eigenschaftswert

Typ: System.Boolean
True if the parameter is read-only; otherwise, false.

Beispiele

Erstellen, Ändern und Löschen von gespeicherten Prozeduren

Erstellen, Ändern und Löschen von Indizes

Siehe auch

Verweis

Parameter Klasse

Microsoft.SqlServer.Management.Smo-Namespace