AllFunctions 属性

       

返回一个 AllFunctions 集合,代表 Microsoft SQL Server 数据库中的所有用户定义函数。

expression.AllFunctions

expression   必需。返回“Applies To”列表中的一个对象的表达式。

说明

可以使用 AllFunctions 属性引用 AllFunctions 集合及其相关属性。

示例

下面的示例打印 AllFunctions 集合中每个打开的 AccessObject 对象的名称。

Dim objFunction As AccessObject

Debug.Print "Currently loaded functions:"

For Each objFunction In Application.CurrentData.AllFunctions
    If objFunction.IsLoaded = msoTrue Then
        Debug.Print objFunction.Name
    End If
Next objFunction