语言

Server.GetPropertyNames(Type, DatabaseEngineEdition) 方法

定义

获取给定对象类型支持的“属性”字段

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 的不同属性

返回

适用于