Compartilhar via


Classe ServerIPAddress

The ServerIPAddress class represents the IP address of the server protocol defined on the Windows Management Instrumentation (WMI) installation.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (em Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxe

'Declaração
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

Comentários

With the ServerIPAddress object you can:

  • View the IP address.

  • Manage attributes of the IP address.

To get or set ServerIPAddress object properties or run ServerIPAddress methods, users must be a member of the sysadmin fixed server role.

Hierarquia de herança

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
    Microsoft.SqlServer.Management.Smo.Wmi. . :: . .WmiSmoObject
      Microsoft.SqlServer.Management.Smo.Wmi..::..ServerIPAddress

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.