Database.EnumMatchingSPs 方法 (String)
Enumerates a list of stored procedures that contain the specified string in the definition.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function EnumMatchingSPs ( _
description As String _
) As UrnCollection
用法
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
参数
- description
类型:System.String
A String value that specifies the text to find a match for in the stored procedure definition.
返回值
类型:Microsoft.SqlServer.Management.Smo.UrnCollection
A UrnCollection object value that contains a list of matching stored procedures for the database.
注释
The stored procedure is defined in the TextBody property.
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间