Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
The ProtocolPropertyCollection class represents a collection of ProtocolProperty objects that represent all the attributes of the protocol defined on the parent object.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.Management.Smo.Wmi.ProtocolPropertyCollection
Microsoft.SqlServer.Management.Smo.Wmi.ClientProtocolPropertyCollection
Microsoft.SqlServer.Management.Smo.Wmi.IPAddressPropertyCollection
Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocolPropertyCollection
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado: Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)
Sintaxis
'Declaración
Public MustInherit Class ProtocolPropertyCollection _
Implements ICollection, IEnumerable
'Uso
Dim instance As ProtocolPropertyCollection
public abstract class ProtocolPropertyCollection : ICollection,
IEnumerable
public ref class ProtocolPropertyCollection abstract : ICollection,
IEnumerable
[<AbstractClassAttribute>]
type ProtocolPropertyCollection =
class
interface ICollection
interface IEnumerable
end
public abstract class ProtocolPropertyCollection implements ICollection, IEnumerable
El tipo ProtocolPropertyCollection expone los siguientes miembros.
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
Count | Gets the number of ProtocolProperty objects in the referenced collection. |
![]() |
IsSynchronized | Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. |
![]() |
Item[Int32] | Gets a ProtocolPropertyCollection object in the collection by index number. |
![]() |
Item[String] | Gets a ProtocolProperty object in the collection by name. |
![]() |
SyncRoot | Gets an object that can be used to synchronize access to the collection. |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Contains | Checks whether the specified key value exists in the collection. |
![]() |
CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. |
![]() |
Equals | (Se hereda de Object.) |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
GetEnumerator | Returns an IEnumerator interface that allows you to iterate through the objects in the collection. |
![]() |
GetHashCode | (Se hereda de Object.) |
![]() |
GetType | (Se hereda de Object.) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
ToString | (Se hereda de Object.) |
Arriba
Implementaciones de interfaces explícitas
| Nombre | Descripción | |
|---|---|---|
![]() ![]() |
ICollection.CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. |
Arriba
Comentarios
The ProtocolPropertyCollection object is used in the construction of the ServerProtocolPropertyCollection object, the IPAddressPropertyCollection object, and the ClientProtocolPropertyCollection object and contains functionality that is common to all.
A ProtocolPropertyCollection object can be used to gain access to a set of attributes of the protocol. You can use the Item property to return a specific ProtocolProperty object.
Thread Safety
Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Ejemplos
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
.gif)
.gif)
.gif)
.gif)
.gif)