共用方式為


PropertyCollection 類別

The PropertyCollection class represents a collection of Property objects that represent all the properties defined on the parent object.

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

語法

'宣告
Public Class PropertyCollection _
    Implements ICollection, IEnumerable, ISfcPropertySet
'用途
Dim instance As PropertyCollection
public class PropertyCollection : ICollection, 
    IEnumerable, ISfcPropertySet
public ref class PropertyCollection : ICollection, 
    IEnumerable, ISfcPropertySet
type PropertyCollection =  
    class
        interface ICollection
        interface IEnumerable
        interface ISfcPropertySet
    end
public class PropertyCollection implements ICollection, IEnumerable, ISfcPropertySet

備註

A PropertyCollection object can be used to gain access to a set of properties. You can use the Item property to return a specific Property object.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo..::..PropertyCollection
    Microsoft.SqlServer.Management.Smo. . :: . .SqlPropertyCollection

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。