AllFunctions 屬性

此頁沒有內(nèi)容條目
內(nèi)容

返回一個 AllFunctions 集合,代表 Microsoft SQL Server 數(shù)據(jù)庫中的所有用戶定義函數(shù)。

expression.AllFunctions

expression     必需。返回“應(yīng)用于”列表中的一個對象的表達(dá)式。

說明

可以使用 AllFunctions 屬性引用 AllFunctions 集合及其相關(guān)屬性。

示例

下面的示例打印 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