SqlProcedureAttribute.Name Property


The name of the stored procedure.

Namespace:   Microsoft.SqlServer.Server
Assembly:  System.Data (in System.Data.dll)

Public Property Name As String

Property Value

Type: System.String

A String representing the name of the stored procedure.

The property is optional.

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

Partial Public Class StoredProcedures

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

.NET Framework
Available since 2.0
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft