مشاركة عبر


NumberedStoredProcedureParameter.IsOutputParameter Property

Gets or sets the Boolean property that specifies whether the parameter is an output parameter.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsOutputParameter As Boolean 
    Get 
    Set
'Usage
Dim instance As NumberedStoredProcedureParameter 
Dim value As Boolean 

value = instance.IsOutputParameter

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

Property Value

Type: System.Boolean
A Boolean value that specifies whether the stored procedure parameter is an output parameter.If True, the referenced stored procedure parameter is an output parameter, which contains returned results after the stored procedure is called.If False (default), the referenced stored procedure parameter is an input parameter, which contains arguments that are used within the stored procedure.

Examples

Creating, Altering, and Removing Stored Procedures

See Also

Reference

NumberedStoredProcedureParameter Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

ALTER PROCEDURE (Transact-SQL)