PropertyCollection Class
TOC
Collapse the table of content
Expand the table of content

PropertyCollection Class

 

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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

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

[DefaultMemberAttribute("Item")]
public class PropertyCollection : ICollection, IEnumerable, ISfcPropertySet

NameDescription
System_CAPS_pubpropertyCount

Gets the number of properties in the PropertyCollection object.

System_CAPS_pubpropertyIsSynchronized

Gets a Boolean value indicating whether access to the collection is synchronized and therefore thread-safe.

System_CAPS_pubpropertyItem[Int32]

Gets an object in the collection by index number.

System_CAPS_pubpropertyItem[String]

Gets an object in the collection by name.

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the collection.

NameDescription
System_CAPS_pubmethodContains(String)

Determines whether the element specified by key exists in the collection.

System_CAPS_pubmethodCopyTo(Property[], Int32)

Copies the collection objects to a one-dimensional array beginning at the index value specified.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Gets an enumerator that can iterate through the list of objects.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetPropertyObject(Int32)

Gets the Property object.

System_CAPS_pubmethodGetPropertyObject(Int32, Boolean)

Gets the Property object.

System_CAPS_pubmethodGetPropertyObject(String)

Gets the Property object.

System_CAPS_pubmethodGetPropertyObject(String, Boolean)

.Gets the Property object.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodLookupID(String)

Returns the ID of the Property object in the PropertyCollection object that has the specified name.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcPropertySet.Contains(ISfcProperty)

Determines whether the property collection contains the property specified by the parameter.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcPropertySet.Contains(String)

Determines whether the property collection contains the property specified by the propertyName parameter.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcPropertySet.Contains<T>(String)

Determines whether the property collection contains the property specified by the name parameter.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcPropertySet.EnumProperties()

Gets the enumerator for the property collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcPropertySet.TryGetProperty(String, ISfcProperty)

Tries to get the property specified by the name parameter and type specified by the property parameter.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcPropertySet.TryGetPropertyValue(String, Object)

Tries to get the property value specified by the name parameter and type specified by the property parameter.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcPropertySet.TryGetPropertyValue<T>(String, T)

Tries to get the property value specified by the name parameter and type specified by the value parameter.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

Copies the collection.

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft