Partager via


Classe ServerIPAddress

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (dans Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ServerIPAddress _
    Inherits WmiSmoObject
'Utilisation
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

Notes

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.

Hiérarchie d'héritage

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.