Database.EnumMatchingSPs Método (String)
Enumerates a list of stored procedures that contain the specified string in the definition.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Function EnumMatchingSPs ( _
description As String _
) As UrnCollection
'Uso
Dim instance As Database
Dim description As String
Dim returnValue As UrnCollection
returnValue = instance.EnumMatchingSPs(description)
public UrnCollection EnumMatchingSPs(
string description
)
public:
UrnCollection^ EnumMatchingSPs(
String^ description
)
member EnumMatchingSPs :
description:string -> UrnCollection
public function EnumMatchingSPs(
description : String
) : UrnCollection
Parámetros
- description
Tipo: System.String
A String value that specifies the text to find a match for in the stored procedure definition.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Smo.UrnCollection
A UrnCollection object value that contains a list of matching stored procedures for the database.
Comentarios
The stored procedure is defined in the TextBody property.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo
Otros recursos
Trabajar con objetos de bases de datos
Crear, modificar y eliminar los procedimientos almacenados