Compartilhar via


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(ManagedComputer, String)

Properties

ConnectionString
Name (Inherited from WmiSmoObject)
Parent
Properties

The property bag of the object

(Inherited from WmiSmoObject)
ProtocolName
ServerName
State

Returns the state of the object

(Inherited from SmoObjectBase)
Urn

Returns the Urn of the object, computed on the fly

(Inherited from WmiSmoObject)
UserData (Inherited from SmoObjectBase)

Methods

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

Initializes the object, by reading its properties from the enumerator

(Inherited from WmiSmoObject)
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[]) (Inherited from WmiSmoObject)
IsObjectInitialized() (Inherited from WmiSmoObject)
Refresh() (Inherited from WmiSmoObject)
SetName(String) (Inherited from WmiSmoObject)
SetParentImpl(WmiSmoObject) (Inherited from WmiSmoObject)
SetState(SqlSmoState)

Sets the object state (Existing, Dropped etc.) Applications should avoid using this method.

(Inherited from SmoObjectBase)
UpdateObjectState() (Inherited from WmiSmoObject)
Validate(String, Object[]) (Inherited from SmoObjectBase)

Applies to