Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a ServerAlias object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As ServerAlias
Get
'Usage
Dim instance As ServerAliasCollection
Dim name As String
Dim value As ServerAlias
value = instance(name)
public ServerAlias this[
string name
] { get; }
public:
property ServerAlias^ default[String^ name] {
ServerAlias^ get (String^ name);
}
member Item : ServerAlias
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A String value that specifies the name of the ServerAlias object in the ServerAliasCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.Wmi.ServerAlias
A ServerAlias object value that represents a SQL Server alias.