Поделиться через


Класс IPAddressPropertyCollection

The IPAddressPropertyCollection class represents a collection of IPAddressProperty objects that represent all the attributes of the IP address defined on the parent object.

Иерархия наследования

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ProtocolPropertyCollection
    Microsoft.SqlServer.Management.Smo.Wmi..::..IPAddressPropertyCollection

Пространство имен:  Microsoft.SqlServer.Management.Smo.Wmi
Сборка:  Microsoft.SqlServer.SqlWmiManagement (в Microsoft.SqlServer.SqlWmiManagement.dll)

Синтаксис

'Декларация
Public NotInheritable Class IPAddressPropertyCollection _
    Inherits ProtocolPropertyCollection
'Применение
Dim instance As IPAddressPropertyCollection
public sealed class IPAddressPropertyCollection : ProtocolPropertyCollection
public ref class IPAddressPropertyCollection sealed : public ProtocolPropertyCollection
[<SealedAttribute>]
type IPAddressPropertyCollection =  
    class
        inherit ProtocolPropertyCollection
    end
public final class IPAddressPropertyCollection extends ProtocolPropertyCollection

Тип IPAddressPropertyCollection обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство Count Gets the number of ProtocolProperty objects in the referenced collection. (Производный от ProtocolPropertyCollection.)
Открытое свойство IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (Производный от ProtocolPropertyCollection.)
Открытое свойство Item[ ( [ ( Int32] ) ] ) Gets a ProtocolPropertyCollection object in the collection by index number. (Производный от ProtocolPropertyCollection.)
Открытое свойство Item[ ( [ ( String] ) ] ) Gets a ProtocolProperty object in the collection by name. (Производный от ProtocolPropertyCollection.)
Открытое свойство SyncRoot Gets an object that can be used to synchronize access to the collection. (Производный от ProtocolPropertyCollection.)

В начало

Методы

  Имя Описание
Открытый метод Contains Checks whether the specified key value exists in the collection. (Производный от ProtocolPropertyCollection.)
Открытый метод CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified. (Производный от ProtocolPropertyCollection.)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (Производный от ProtocolPropertyCollection.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод ICollection. . :: . .CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified. (Производный от ProtocolPropertyCollection.)

В начало

Замечания

An IPAddressPropertyCollection object can be used to gain access to a set of an attributes of the IP address.

Thread Safety

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.