SqlProcedureAttribute.Name Property


The name of the stored procedure.

 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

Property Value

A String representing the name of the stored procedure.


public partial class StoredProcedures
    public static void SampleProcedure(SqlString s)
Partial Public Class StoredProcedures

    Public Shared Sub SampleProcedure(ByVal s As SqlString)
    End Sub
End Class


The property is optional.

The following example specifies that the stored procedure is referenced using the name sp_sqlName.

Applies to