共用方式為


Server.GetPropertyNames(Type, DatabaseEngineEdition) Method

Definition

Get the Property field supported by given object type

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

Parameters

typeObject
Type

Type of the object

databaseEngineEdition
DatabaseEngineEdition

Database edition of the object. This is required a Database and it children can have different properties based on the databaseEngineEdition

Returns

Applies to