Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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 | |
|---|---|---|
![]() |
Count | Gets the number of properties in the PropertyCollection object. (hérité de PropertyCollection.) |
![]() |
IsSynchronized | Gets a Boolean value indicating whether access to the collection is synchronized and therefore thread-safe. (hérité de PropertyCollection.) |
![]() |
Item[Int32] | Gets an object in the collection by index number. (hérité de PropertyCollection.) |
![]() |
Item[String] | Gets an object in the collection by name. (hérité de PropertyCollection.) |
![]() |
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 | |
|---|---|---|
![]() |
Contains | Determines whether the element specified by key exists in the collection. (hérité de PropertyCollection.) |
![]() |
CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. (hérité de PropertyCollection.) |
![]() |
EnumPropertyInfo() | Returns an enumerated list of property information. |
![]() |
EnumPropertyInfo(SqlServerVersions) | Returns an enumerated list of property information. |
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetEnumerator | Gets an enumerator that can iterate through the list of objects. (hérité de PropertyCollection.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetPropertyInfo | Gets property information. |
![]() |
GetPropertyObject(Int32) | Gets the Property object. (hérité de PropertyCollection.) |
![]() |
GetPropertyObject(String) | Gets the Property object. (hérité de PropertyCollection.) |
![]() |
GetPropertyObject(Int32, Boolean) | Gets the Property object. (hérité de PropertyCollection.) |
![]() |
GetPropertyObject(String, Boolean) | .Gets the Property object. (hérité de PropertyCollection.) |
![]() |
GetType | (hérité de Object.) |
![]() |
LookupID | Returns the ID of the Property object in the PropertyCollection object that has the specified name. (hérité de PropertyCollection.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
ToString | (hérité de Object.) |
Haut de la page
Implémentations d'interfaces explicites
| Nom | Description | |
|---|---|---|
![]() ![]() |
ICollection.CopyTo | Copies the collection. (hérité de PropertyCollection.) |
![]() ![]() |
ISfcPropertySet.Contains(ISfcProperty) | Determines whether the property collection contains the property specified by the parameter. (hérité de PropertyCollection.) |
![]() ![]() |
ISfcPropertySet.Contains<T>(String) | Determines whether the property collection contains the property specified by the name parameter. (hérité de PropertyCollection.) |
![]() ![]() |
ISfcPropertySet.EnumProperties | Gets the enumerator for the property collection. (hérité de PropertyCollection.) |
![]() ![]() |
ISfcPropertySet.TryGetProperty | Tries to get the property specified by the name parameter and type specified by the property parameter. (hérité de PropertyCollection.) |
![]() ![]() |
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.) |
![]() ![]() |
ISfcPropertySet.TryGetPropertyValue<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
Exemples
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.
.gif)
.gif)
.gif)
.gif)
.gif)