Clase ServerIPAddress
The ServerIPAddress class represents the IP address of the server protocol defined on the Windows Management Instrumentation (WMI) installation.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.Management.Smo.SmoObjectBase
Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject
Microsoft.SqlServer.Management.Smo.Wmi.ServerIPAddress
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado: Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)
Sintaxis
'Declaración
Public NotInheritable Class ServerIPAddress _
Inherits WmiSmoObject
'Uso
Dim instance As ServerIPAddress
public sealed class ServerIPAddress : WmiSmoObject
public ref class ServerIPAddress sealed : public WmiSmoObject
[<SealedAttribute>]
type ServerIPAddress =
class
inherit WmiSmoObject
end
public final class ServerIPAddress extends WmiSmoObject
El tipo ServerIPAddress expone los siguientes miembros.
Propiedades
Nombre | Descripción | |
---|---|---|
IPAddress | Gets the IP address associated with the server. | |
IPAddressProperties | Represents a collection of IPAddressProperty objects. Each IPAddressProperty object represents an attribute of the IP address. | |
Name | Gets or sets the name of the referenced Windows Management Instrumentation (WMI) object. (Se hereda de WmiSmoObject.) | |
Parent | Gets the ServerProtocol object that is the parent of the ServerIPAddress object. | |
Properties | Represents a collection of Property objects. Each Property object represents a property defined on the Windows Management Instrumentation (WMI) object. (Se hereda de WmiSmoObject.) | |
State | Gets the state of the referenced object. (Se hereda de SmoObjectBase.) | |
Urn | Gets the Uniform Resource Name (URN) address that represents the Windows Management Instrumentation (WMI) object. (Se hereda de WmiSmoObject.) | |
UserData | Gets or sets user-defined data associated with the referenced object. (Se hereda de SmoObjectBase.) |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object.) | |
GetHashCode | (Se hereda de Object.) | |
GetType | (Se hereda de Object.) | |
Initialize | Initializes the referenced object. (Se hereda de WmiSmoObject.) | |
IsObjectInitialized | Specifies whether the referenced object is initialized. (Se hereda de WmiSmoObject.) | |
Refresh | Refreshes the referenced object and its properties. (Se hereda de WmiSmoObject.) | |
SetName | Sets the name of the referenced object. (Se hereda de WmiSmoObject.) | |
SetParentImpl | Sets the parent of the referenced object. (Se hereda de WmiSmoObject.) | |
ToString | (Se hereda de Object.) | |
Validate | Validates the state of an object. (Se hereda de SmoObjectBase.) |
Arriba
Comentarios
With the ServerIPAddress object you can:
View the IP address.
Manage attributes of the IP address.
Ejemplos
Administrar servicios y configuración de red utilizando el proveedor WMI
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.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Wmi