ServerAlias ServerAlias ServerAlias Class

Definition

Instance class encapsulating : ManagedComputer[@Name='']/ServerAlias

public sealed class ServerAlias : Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject, Microsoft.SqlServer.Management.Common.ICreatable, Microsoft.SqlServer.Management.Common.IDroppable
type ServerAlias = class
    inherit WmiSmoObject
    interface ICreatable
    interface IDroppable
Public NotInheritable Class ServerAlias
Inherits WmiSmoObject
Implements ICreatable, IDroppable
Inheritance
Implements

Constructors

ServerAlias() ServerAlias() ServerAlias()
ServerAlias(ManagedComputer, String) ServerAlias(ManagedComputer, String) ServerAlias(ManagedComputer, String)

Properties

ConnectionString ConnectionString ConnectionString
Name Name Name Inherited from WmiSmoObject
Parent Parent Parent
Properties Properties Properties

The property bag of the object

(Inherited from WmiSmoObject)
ProtocolName ProtocolName ProtocolName
ServerName ServerName ServerName
State State State

Returns the state of the object

(Inherited from SmoObjectBase)
Urn Urn Urn

Returns the Urn of the object, computed on the fly

(Inherited from WmiSmoObject)
UserData UserData UserData Inherited from SmoObjectBase

Methods

AlterProtocolProperties(ProtocolPropertyCollection) AlterProtocolProperties(ProtocolPropertyCollection) AlterProtocolProperties(ProtocolPropertyCollection) Inherited from WmiSmoObject
CheckObjectState() CheckObjectState() CheckObjectState() Inherited from WmiSmoObject
Create() Create() Create()
CreateProtocolPropertyCollection() CreateProtocolPropertyCollection() CreateProtocolPropertyCollection() Inherited from WmiSmoObject
Drop() Drop() Drop()
GetPropertyManagementObject(ProtocolProperty) GetPropertyManagementObject(ProtocolProperty) GetPropertyManagementObject(ProtocolProperty) Inherited from WmiSmoObject
GetPropertyObject(PropertyCollection, DataRow, Object) GetPropertyObject(PropertyCollection, DataRow, Object) GetPropertyObject(PropertyCollection, DataRow, Object) Inherited from WmiSmoObject
GetProtocolPropertyCollection() GetProtocolPropertyCollection() GetProtocolPropertyCollection() Inherited from WmiSmoObject
ImplInitialize(String[], OrderBy[]) ImplInitialize(String[], OrderBy[]) ImplInitialize(String[], OrderBy[]) Inherited from WmiSmoObject
Initialize() Initialize() Initialize()

Initializes the object, by reading its properties from the enumerator

(Inherited from WmiSmoObject)
InvokeMgmtMethod(ManagementObject, ManagementOperationObserver, String, Object[]) InvokeMgmtMethod(ManagementObject, ManagementOperationObserver, String, Object[]) InvokeMgmtMethod(ManagementObject, ManagementOperationObserver, String, Object[])

Wraps InvokeMethod calls. When the call fails, returned error codes
are mapped into exceptions.

(Inherited from WmiSmoObject)
InvokeMgmtMethod(ManagementObject, String, Object[]) InvokeMgmtMethod(ManagementObject, String, Object[]) InvokeMgmtMethod(ManagementObject, String, Object[]) Inherited from WmiSmoObject
IsObjectInitialized() IsObjectInitialized() IsObjectInitialized() Inherited from WmiSmoObject
Refresh() Refresh() Refresh() Inherited from WmiSmoObject
SetName(String) SetName(String) SetName(String) Inherited from WmiSmoObject
SetParentImpl(WmiSmoObject) SetParentImpl(WmiSmoObject) SetParentImpl(WmiSmoObject) Inherited from WmiSmoObject
UpdateObjectState() UpdateObjectState() UpdateObjectState() Inherited from WmiSmoObject
Validate(String, Object[]) Validate(String, Object[]) Validate(String, Object[]) Inherited from SmoObjectBase

Applies to