Export (0) Print
Expand All

SqlPropertyCollection Class

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

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

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

public class SqlPropertyCollection : PropertyCollection

The SqlPropertyCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of properties in the PropertyCollection object. (Inherited from PropertyCollection.)
Public propertyIsSynchronizedGets a Boolean value indicating whether access to the collection is synchronized and therefore thread-safe. (Inherited from PropertyCollection.)
Public propertyItem[Int32]Gets an object in the collection by index number. (Inherited from PropertyCollection.)
Public propertyItem[String]Gets an object in the collection by name. (Inherited from PropertyCollection.)
Public propertySyncRootGets an object that can be used to synchronize access to the collection. (Inherited from PropertyCollection.)
Top

  NameDescription
Public methodContainsDetermines whether the element specified by key exists in the collection. (Inherited from PropertyCollection.)
Public methodCopyToCopies the collection objects to a one-dimensional array beginning at the index value specified. (Inherited from PropertyCollection.)
Public methodEnumPropertyInfo()Returns an enumerated list of property information.
Public methodEnumPropertyInfo(SqlServerVersions)Returns an enumerated list of property information.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumeratorGets an enumerator that can iterate through the list of objects. (Inherited from PropertyCollection.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetPropertyInfoGets property information.
Public methodGetPropertyObject(Int32)Gets the Property object. (Inherited from PropertyCollection.)
Public methodGetPropertyObject(String)Gets the Property object. (Inherited from PropertyCollection.)
Public methodGetPropertyObject(Int32, Boolean)Gets the Property object. (Inherited from PropertyCollection.)
Public methodGetPropertyObject(String, Boolean).Gets the Property object. (Inherited from PropertyCollection.)
Public methodGetType (Inherited from Object.)
Protected methodLookupIDReturns the ID of the Property object in the PropertyCollection object that has the specified name. (Inherited from PropertyCollection.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICollection.CopyToCopies the collection. (Inherited from PropertyCollection.)
Explicit interface implemetationPrivate methodISfcPropertySet.Contains(ISfcProperty)Determines whether the property collection contains the property specified by the parameter. (Inherited from PropertyCollection.)
Explicit interface implemetationPrivate methodISfcPropertySet.Contains<T>(String)Determines whether the property collection contains the property specified by the name parameter. (Inherited from PropertyCollection.)
Explicit interface implemetationPrivate methodISfcPropertySet.EnumPropertiesGets the enumerator for the property collection. (Inherited from PropertyCollection.)
Explicit interface implemetationPrivate methodISfcPropertySet.TryGetPropertyTries to get the property specified by the name parameter and type specified by the property parameter. (Inherited from PropertyCollection.)
Explicit interface implemetationPrivate methodISfcPropertySet.TryGetPropertyValue(String, Object)Tries to get the property value specified by the name parameter and type specified by the property parameter. (Inherited from PropertyCollection.)
Explicit interface implemetationPrivate methodISfcPropertySet.TryGetPropertyValue<T>(String, T)Tries to get the property value specified by the name parameter and type specified by the value parameter. (Inherited from PropertyCollection.)
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft