Export (0) Print
Expand All

DefaultCollection Properties

The DefaultCollection type exposes the following members.

  Name Description
Public property Count Gets the number of objects in the referenced collection. (Inherited from SmoCollectionBase.)
Public property IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (Inherited from SmoCollectionBase.)
Public property Item[Int32] Gets a Default object in the collection by index number.
Public property Item[String] Gets a Default object in the collection by name.
Public property Item[String, String] Gets a Default object in the collection by name with the specified schema.
Public property Parent Gets the Database object that is the parent of the DefaultCollection object.
Public property SyncRoot Gets an object that can be used to synchronize access to the collection. (Inherited from SmoCollectionBase.)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft