SqlProcedureAttribute.Name Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The name of the stored procedure.
public:
 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.
Examples
public partial class StoredProcedures
{
    [SqlProcedure(Name="sp_sqlName")]
    public static void SampleProcedure(SqlString s)
    {
        //...
    }
}
Partial Public Class StoredProcedures
    <SqlProcedure(Name:="sp_sqlName")>
    Public Shared Sub SampleProcedure(ByVal s As SqlString)
        '...
    End Sub
End Class
	Remarks
The property is optional.
The following example specifies that the stored procedure is referenced using the name sp_sqlName.