Database::EnumMatchingSPs Method (String, Boolean)
SQL Server 2012
Enumerates a list of stored procedures that contain the specified string in the definition.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Parameters
- description
- Type: System::String
A String value that specifies the text to find a match for in the stored procedure definition.
- includeSystem
- Type: System::Boolean
A Boolean value that specifies whether to include system stored procedures in the returned list.If True, system stored procedures are included. Otherwise, False.
Return Value
Type: Microsoft.SqlServer.Management.Smo::UrnCollectionA UrnCollection object value that contains a list of matching stored procedures for the database.