共用方式為


EnumPropertyInfo 方法 (SqlServerVersions)

Returns an enumerated list of property information.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function EnumPropertyInfo ( _
    versions As SqlServerVersions _
) As SqlPropertyInfo()
'用途
Dim instance As SqlPropertyCollection
Dim versions As SqlServerVersions
Dim returnValue As SqlPropertyInfo()

returnValue = instance.EnumPropertyInfo(versions)
public SqlPropertyInfo[] EnumPropertyInfo(
    SqlServerVersions versions
)
public:
array<SqlPropertyInfo^>^ EnumPropertyInfo(
    SqlServerVersions versions
)
member EnumPropertyInfo : 
        versions:SqlServerVersions -> SqlPropertyInfo[] 
public function EnumPropertyInfo(
    versions : SqlServerVersions
) : SqlPropertyInfo[]

參數

傳回值

型別:array<Microsoft.SqlServer.Management.Smo. . :: . .SqlPropertyInfo> [] () [] []
A SqlPropertyInfo object array value that specifies a list of property information for the referenced object.

範例

使用集合