Share via


Classe SqlPropertyCollection

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Class SqlPropertyCollection _
    Inherits PropertyCollection
'Utilisation
Dim instance As SqlPropertyCollection
public class SqlPropertyCollection : PropertyCollection
public ref class SqlPropertyCollection : public PropertyCollection
type SqlPropertyCollection =  
    class
        inherit PropertyCollection
    end
public class SqlPropertyCollection extends PropertyCollection

Le type SqlPropertyCollection expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Count Gets the number of properties in the PropertyCollection object. (hérité de PropertyCollection.)
Propriété publique IsSynchronized Gets a Boolean value indicating whether access to the collection is synchronized and therefore thread-safe. (hérité de PropertyCollection.)
Propriété publique Item[ ( [ ( Int32] ) ] ) Gets an object in the collection by index number. (hérité de PropertyCollection.)
Propriété publique Item[ ( [ ( String] ) ] ) Gets an object in the collection by name. (hérité de PropertyCollection.)
Propriété publique SyncRoot Gets an object that can be used to synchronize access to the collection. (hérité de PropertyCollection.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Contains Determines whether the element specified by key exists in the collection. (hérité de PropertyCollection.)
Méthode publique CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified. (hérité de PropertyCollection.)
Méthode publique EnumPropertyInfo() () () () Returns an enumerated list of property information.
Méthode publique EnumPropertyInfo(SqlServerVersions) Returns an enumerated list of property information.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetEnumerator Gets an enumerator that can iterate through the list of objects. (hérité de PropertyCollection.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetPropertyInfo Gets property information.
Méthode publique GetPropertyObject(Int32) Gets the Property object. (hérité de PropertyCollection.)
Méthode publique GetPropertyObject(String) Gets the Property object. (hérité de PropertyCollection.)
Méthode publique GetPropertyObject(Int32, Boolean) Gets the Property object. (hérité de PropertyCollection.)
Méthode publique GetPropertyObject(String, Boolean) .Gets the Property object. (hérité de PropertyCollection.)
Méthode publique GetType (hérité de Object.)
Méthode protégée LookupID Returns the ID of the Property object in the PropertyCollection object that has the specified name. (hérité de PropertyCollection.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée ICollection. . :: . .CopyTo Copies the collection. (hérité de PropertyCollection.)
Implémentation d'interface expliciteMéthode privée ISfcPropertySet. . :: . .Contains(ISfcProperty) Determines whether the property collection contains the property specified by the parameter. (hérité de PropertyCollection.)
Implémentation d'interface expliciteMéthode privée ISfcPropertySet. . :: . .Contains< (Of < <' (T> ) > > )(String) Determines whether the property collection contains the property specified by the name parameter. (hérité de PropertyCollection.)
Implémentation d'interface expliciteMéthode privée ISfcPropertySet. . :: . .EnumProperties Gets the enumerator for the property collection. (hérité de PropertyCollection.)
Implémentation d'interface expliciteMéthode privée ISfcPropertySet. . :: . .TryGetProperty Tries to get the property specified by the name parameter and type specified by the property parameter. (hérité de PropertyCollection.)
Implémentation d'interface expliciteMéthode privée ISfcPropertySet. . :: . .TryGetPropertyValue(String, Object%) Tries to get the property value specified by the name parameter and type specified by the property parameter. (hérité de PropertyCollection.)
Implémentation d'interface expliciteMéthode privée ISfcPropertySet. . :: . .TryGetPropertyValue< (Of < <' (T> ) > > )(String, T%) Tries to get the property value specified by the name parameter and type specified by the value parameter. (hérité de PropertyCollection.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.