Server.GetPropertyNames(Type, DatabaseEngineEdition) 方法

定義

取得由特定物件類型支援的 Property 欄位

public System.Collections.Specialized.StringCollection GetPropertyNames(Type typeObject, Microsoft.SqlServer.Management.Common.DatabaseEngineEdition databaseEngineEdition);
member this.GetPropertyNames : Type * Microsoft.SqlServer.Management.Common.DatabaseEngineEdition -> System.Collections.Specialized.StringCollection
Public Function GetPropertyNames (typeObject As Type, databaseEngineEdition As DatabaseEngineEdition) As StringCollection

參數

typeObject
Type

物件類型

databaseEngineEdition
DatabaseEngineEdition

物件的資料庫版本。 這需要一個資料庫,子節點可以根據 databaseEngineEdition 擁有不同的屬性

傳回

適用於