Condividi tramite


Metodo EnumMatchingSPs (String)

Enumerates a list of stored procedures that contain the specified string in the definition.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function EnumMatchingSPs ( _
    description As String _
) As UrnCollection
'Utilizzo
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

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .UrnCollection
A UrnCollection object value that contains a list of matching stored procedures for the database.

Osservazioni

The stored procedure is defined in the TextBody property.