EnumMatchingSPs 方法 (String)

枚举在定义中包含指定字符串的存储过程的列表。

命名空间:  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

参数

返回值

类型:Microsoft.SqlServer.Management.Smo. . :: . .UrnCollection
一个 UrnCollection 对象值,该值包含数据库的匹配存储过程的列表。

注释

The stored procedure is defined in the TextBody property.