Udostępnij przez


ServerAlias Members

The ServerAlias class represents an alias for a server connection on the Windows Management Instrumentation (WMI) installation.

The following tables list the members exposed by the ServerAlias type.

Public Constructors

  Name Description
ServerAlias Overloaded. Initializes a new instance of the ServerAlias class.

Top

Public Properties

  Name Description
ms220766.pubproperty(pl-pl,SQL.100).gif ConnectionString Gets or sets the connection string that the alias uses to connect to the server.
ms220766.pubproperty(pl-pl,SQL.100).gif Name  Gets or sets the name of the referenced Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject)
ms220766.pubproperty(pl-pl,SQL.100).gif Parent Gets or sets the ManagedComputer object that is the parent of the ServerAlias object.
ms220766.pubproperty(pl-pl,SQL.100).gif Properties  Represents a collection of Property objects. Each Property object represents a property defined on the Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject)
ms220766.pubproperty(pl-pl,SQL.100).gif ProtocolName Gets or sets the name of the protocol used by the server connection alias.
ms220766.pubproperty(pl-pl,SQL.100).gif ServerName Gets or sets the name of the instance of SQL Server to which the server alias connects.
ms220766.pubproperty(pl-pl,SQL.100).gif State  Gets the state of the referenced object. (inherited from SmoObjectBase)
ms220766.pubproperty(pl-pl,SQL.100).gif Urn  Gets the Uniform Resource Name (URN) address that represents the Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject)
ms220766.pubproperty(pl-pl,SQL.100).gif UserData  Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms220766.pubmethod(pl-pl,SQL.100).gif Create Creates a server connection alias on the WMI installation as defined by the ServerAlias object.
ms220766.pubmethod(pl-pl,SQL.100).gif Drop Removes the server connection alias from the WMI installation.
ms220766.pubmethod(pl-pl,SQL.100).gif Equals  Overloaded. (inherited from Object )
ms220766.pubmethod(pl-pl,SQL.100).gif GetHashCode  (inherited from Object )
ms220766.pubmethod(pl-pl,SQL.100).gif GetType  (inherited from Object )
ms220766.pubmethod(pl-pl,SQL.100).gif Initialize  Initializes the referenced object. (inherited from WmiSmoObject)
ms220766.pubmethod(pl-pl,SQL.100).gifms220766.static(pl-pl,SQL.100).gif ReferenceEquals  (inherited from Object )
ms220766.pubmethod(pl-pl,SQL.100).gif Refresh  Refreshes the referenced object and its properties. (inherited from WmiSmoObject)
ms220766.pubmethod(pl-pl,SQL.100).gif ToString  (inherited from Object )
ms220766.pubmethod(pl-pl,SQL.100).gif Validate  (inherited from SmoObjectBase )

Top

Protected Methods

  Name Description
ms220766.protmethod(pl-pl,SQL.100).gif AlterProtocolProperties  (inherited from WmiSmoObject )
ms220766.protmethod(pl-pl,SQL.100).gif CheckObjectState  Checks the state of the referenced object. (inherited from WmiSmoObject)
ms220766.protmethod(pl-pl,SQL.100).gif CreateProtocolPropertyCollection  Creates a set of protocol attributes for the referenced object. (inherited from WmiSmoObject)
ms220766.protmethod(pl-pl,SQL.100).gif Finalize  (inherited from Object )
ms220766.protmethod(pl-pl,SQL.100).gif GetPropertyManagementObject  (inherited from WmiSmoObject )
ms220766.protmethod(pl-pl,SQL.100).gif GetPropertyObject  (inherited from WmiSmoObject )
ms220766.protmethod(pl-pl,SQL.100).gif GetProtocolPropertyCollection  Returns the protocol property collection for the referenced object. (inherited from WmiSmoObject)
ms220766.protmethod(pl-pl,SQL.100).gif ImplInitialize  (inherited from WmiSmoObject )
ms220766.protmethod(pl-pl,SQL.100).gif InvokeMgmtMethod  Overloaded. (inherited from WmiSmoObject )
ms220766.protmethod(pl-pl,SQL.100).gif IsObjectInitialized  Specifies whether the referenced object is initialized. (inherited from WmiSmoObject)
ms220766.protmethod(pl-pl,SQL.100).gif MemberwiseClone  (inherited from Object )
ms220766.protmethod(pl-pl,SQL.100).gif SetName  (inherited from WmiSmoObject )
ms220766.protmethod(pl-pl,SQL.100).gif SetParentImpl  (inherited from WmiSmoObject )
ms220766.protmethod(pl-pl,SQL.100).gifms220766.static(pl-pl,SQL.100).gif Trace  (inherited from WmiSmoObject )
ms220766.protmethod(pl-pl,SQL.100).gif UpdateObjectState  Updates the object state. (inherited from WmiSmoObject)

Top