Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ServerInstance class represents an instance of Microsoft SQL Server.
The following tables list the members exposed by the ServerInstance type.
Public Properties
Name | Description | |
---|---|---|
![]() |
Name | Gets or sets the name of the referenced Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject) |
![]() |
Parent | Gets the ManagedComputer object that is the parent of the ServerInstance object. |
![]() |
Properties | Represents a collection of Property objects. Each Property object represents a property defined on the Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject) |
![]() |
ServerProtocols | Represents a collection of ServerProtocol objects. Each ServerProtocol object represents a server protocol defined on the Microsoft Management Instrumentation (WMI) installation. |
![]() |
State | Gets the state of the referenced object. (inherited from SmoObjectBase) |
![]() |
Urn | Gets the Uniform Resource Name (URN) address that represents the Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject) |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetType | (inherited from Object ) |
![]() |
Initialize | Initializes the referenced object. (inherited from WmiSmoObject) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
Refresh | Refreshes the referenced object and its properties. (inherited from WmiSmoObject) |
![]() |
ToString | (inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
AlterProtocolProperties | (inherited from WmiSmoObject ) |
![]() |
CheckObjectState | Checks the state of the referenced object. (inherited from WmiSmoObject) |
![]() |
CreateProtocolPropertyCollection | Creates a set of protocol attributes for the referenced object. (inherited from WmiSmoObject) |
![]() |
Finalize | (inherited from Object ) |
![]() |
GetPropertyManagementObject | (inherited from WmiSmoObject ) |
![]() |
GetPropertyObject | (inherited from WmiSmoObject ) |
![]() |
GetProtocolPropertyCollection | Returns the protocol property collection for the referenced object. (inherited from WmiSmoObject) |
![]() |
ImplInitialize | (inherited from WmiSmoObject ) |
![]() |
InvokeMgmtMethod | Overloaded. (inherited from WmiSmoObject ) |
![]() |
IsObjectInitialized | Specifies whether the referenced object is initialized. (inherited from WmiSmoObject) |
![]() |
MemberwiseClone | (inherited from Object ) |
![]() |
SetName | (inherited from WmiSmoObject ) |
![]() |
SetParentImpl | (inherited from WmiSmoObject ) |
![]() ![]() |
Trace | (inherited from WmiSmoObject ) |
![]() |
UpdateObjectState | Updates the object state. (inherited from WmiSmoObject) |
Top
See Also
Reference
ServerInstance Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace
Other Resources
Managing Services and Network Settings by Using WMI Provider
WMI and SQL Server
Connecting to the SQL Server Database Engine