Properties 屬性

取得代表物件屬性的 Property 物件集合。

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

語法

'宣告
Public ReadOnly Property Properties As SqlPropertyCollection
    Get
'用途
Dim instance As SqlSmoObject
Dim value As SqlPropertyCollection

value = instance.Properties
public SqlPropertyCollection Properties { get; }
public:
property SqlPropertyCollection^ Properties {
    SqlPropertyCollection^ get ();
}
member Properties : SqlPropertyCollection
function get Properties () : SqlPropertyCollection

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .SqlPropertyCollection
PropertyCollection 物件值,指定與物件相關聯的屬性集合。

範例

設定屬性