Parameter.IsReadOnly Property
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)
Property Value
Type: System.Boolean
True if the parameter is read-only; otherwise, false.
Examples
Creating, Altering, and Removing Stored Procedures
Creating, Altering, and Removing Indexes