SqlPropertyCollection SqlPropertyCollection SqlPropertyCollection Class

Definition

The SqlPropertyCollection class is an abstract class that is used in the management of object properties.

public ref class SqlPropertyCollection : Microsoft::SqlServer::Management::Smo::PropertyCollection
public class SqlPropertyCollection : Microsoft.SqlServer.Management.Smo.PropertyCollection
Public Class SqlPropertyCollection
Inherits PropertyCollection
Inheritance
SqlPropertyCollectionSqlPropertyCollectionSqlPropertyCollection

Examples

Using Collections

Methods

Contains(String) Contains(String) Contains(String)

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

(Inherited from PropertyCollection)
CopyTo(Property[], Int32) CopyTo(Property[], Int32) CopyTo(Property[], Int32)

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

(Inherited from PropertyCollection)
EnumPropertyInfo() EnumPropertyInfo() EnumPropertyInfo()

Returns an enumerated list of property information.

EnumPropertyInfo(SqlServerVersions) EnumPropertyInfo(SqlServerVersions) EnumPropertyInfo(SqlServerVersions)

Returns an enumerated list of property information.

GetEnumerator() GetEnumerator() GetEnumerator()

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

(Inherited from PropertyCollection)
GetPropertyInfo(String) GetPropertyInfo(String) GetPropertyInfo(String)

Gets property information.

GetPropertyObject(Int32) GetPropertyObject(Int32) GetPropertyObject(Int32)

Gets the Property object.

(Inherited from PropertyCollection)
GetPropertyObject(Int32, Boolean) GetPropertyObject(Int32, Boolean) GetPropertyObject(Int32, Boolean)

Gets the Property object.

(Inherited from PropertyCollection)
GetPropertyObject(String) GetPropertyObject(String) GetPropertyObject(String)

Gets the Property object.

(Inherited from PropertyCollection)
GetPropertyObject(String, Boolean) GetPropertyObject(String, Boolean) GetPropertyObject(String, Boolean)

.Gets the Property object.

(Inherited from PropertyCollection)
LookupID(String) LookupID(String) LookupID(String)

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

(Inherited from PropertyCollection)

Properties

Count Count Count

Gets the number of properties in the PropertyCollection object.

(Inherited from PropertyCollection)
IsSynchronized IsSynchronized IsSynchronized

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

(Inherited from PropertyCollection)
Item[Int32] Item[Int32] Item[Int32]

Gets an object in the collection by index number.

(Inherited from PropertyCollection)
Item[String] Item[String] Item[String]

Gets an object in the collection by name.

(Inherited from PropertyCollection)
SyncRoot SyncRoot SyncRoot

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

(Inherited from PropertyCollection)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

Copies the property collection.

(Inherited from PropertyCollection)
ISfcPropertySet.Contains(ISfcProperty) ISfcPropertySet.Contains(ISfcProperty) ISfcPropertySet.Contains(ISfcProperty)

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

(Inherited from PropertyCollection)
ISfcPropertySet.Contains(String) ISfcPropertySet.Contains(String) ISfcPropertySet.Contains(String)

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

(Inherited from PropertyCollection)
ISfcPropertySet.Contains<T>(String) ISfcPropertySet.Contains<T>(String) ISfcPropertySet.Contains<T>(String)

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

(Inherited from PropertyCollection)
ISfcPropertySet.EnumProperties() ISfcPropertySet.EnumProperties() ISfcPropertySet.EnumProperties()

Gets the enumerator for the property collection.

(Inherited from PropertyCollection)
ISfcPropertySet.TryGetProperty(String, ISfcProperty) ISfcPropertySet.TryGetProperty(String, ISfcProperty) ISfcPropertySet.TryGetProperty(String, ISfcProperty)

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

(Inherited from PropertyCollection)
ISfcPropertySet.TryGetPropertyValue(String, Object) ISfcPropertySet.TryGetPropertyValue(String, Object) ISfcPropertySet.TryGetPropertyValue(String, Object)

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

(Inherited from PropertyCollection)
ISfcPropertySet.TryGetPropertyValue<T>(String, T) ISfcPropertySet.TryGetPropertyValue<T>(String, T) ISfcPropertySet.TryGetPropertyValue<T>(String, T)

Indicates a value whether the collection contains the property value.

(Inherited from PropertyCollection)

Applies to