Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Hinweis: |
|---|
| Dieses Feature wird in der nächsten Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature nicht zum Entwickeln neuer Anwendungen, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird, zum frühstmöglichen Zeitpunkt ein. |
The Count property of a CustomProperties collection returns the number of items in the collection.
Data Type
Integer
Access
Read-only
Beispiel
The following code example checks to see whether the CustomProperties collection of a database is empty:
Dim dsoServer As New DSO.Server
Dim dsoDB As DSO.Database
' Connect to local Analysis server.
dsoServer.Connect "LocalHost"
' Get reference to FoodMart 2000 database.
Set dsoDB = dsoServer.MDStores("FoodMart 2000")
' Check for custom properties.
If dsoDB.CustomProperties.Count > 0 Then
' There is at least one custom property in the
' CustomProperties collection.
End If
' Clean up.
Set dsoDB = Nothing
dsoServer.CloseServer
Hinweis: