TeamFoundationDataTierComponent.GetDatabaseCount 方法
取得資料庫數目目前伺服器上。
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Function GetDatabaseCount As Integer
public int GetDatabaseCount()
傳回值
類型:System.Int32
備註
在 SQL Azure,如果元件連接至主要資料庫,才能呼叫此方法。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。