Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a collection of stored procedures for a database.
Namespace: Microsoft.Web.Management.DatabaseManager
Assembly: Microsoft.Web.Management.DatabaseManager (in Microsoft.Web.Management.DatabaseManager.dll)
Syntax
'Declaration
Function GetStoredProcedures ( _
connectionString As String _
) As ICollection(Of StoredProcedure)
'Usage
Dim instance As IDbStoredProcedureManager
Dim connectionString As String
Dim returnValue As ICollection(Of StoredProcedure)
returnValue = instance.GetStoredProcedures(connectionString)
ICollection<StoredProcedure> GetStoredProcedures(
string connectionString
)
ICollection<StoredProcedure^>^ GetStoredProcedures(
String^ connectionString
)
function GetStoredProcedures(
connectionString : String
) : ICollection<StoredProcedure>
Parameters
- connectionString
Type: System.String
The connection string for the database.
Return Value
Type: System.Collections.Generic.ICollection<StoredProcedure>
An ICollection object that contains the list of StoredProcedure objects.
Remarks
All database providers that implement the IDbStoredProcedureManager interface must also implement the GetStoredProcedures method. This method returns a collection of StoredProcedure objects that will be displayed in IIS Manager.
Notes for Implementers
If your provider does not support retrieving stored procedures, you can use the following code sample to raise a not-implemented exception:
public ICollection<StoredProcedure> GetStoredProcedures(string connectionString)
{
throw new NotImplementedException();
}
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.