Método Database.EnumMatchingSPs (String)
Enumerates a list of stored procedures that contain the specified string in the definition.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
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 de retorno
Tipo: Microsoft.SqlServer.Management.Smo.UrnCollection
A UrnCollection object value that contains a list of matching stored procedures for the database.
Comentários
The stored procedure is defined in the TextBody property.
Consulte também
Referência
Sobrecarregado EnumMatchingSPs
Namespace Microsoft.SqlServer.Management.Smo
Outros recursos
Trabalhando com objetos de banco de dados
Criando, alterando e removendo procedimentos armazenados