Обновлен: Ноябрь 2007
Represents a connection to an application, server, or site.
Пространство имен:
Microsoft.Web.Management.Client
Сборка:
Microsoft.Web.Management (в Microsoft.Web.Management.dll)
Язык Visual Basic (Объявление)
<SecurityPermissionAttribute(SecurityAction.Demand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
Public NotInheritable Class Connection _
Implements IServiceContainer, IServiceProvider, IDisposable
Язык Visual Basic (Использование)
Dim instance As Connection
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public sealed class Connection : IServiceContainer,
IServiceProvider, IDisposable
[SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::UnmanagedCode)]
public ref class Connection sealed : IServiceContainer,
IServiceProvider, IDisposable
/** @attribute SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode) */
public final class Connection implements IServiceContainer,
IServiceProvider, IDisposable
public final class Connection implements IServiceContainer, IServiceProvider, IDisposable
A Connection object represents a single management session for a specific management unit. It is defined by a management scope, the associated management unit identifier (which may be a server, application, or site), and the credentials used to initiate the session.
System..::.Object
Microsoft.Web.Management.Client..::.Connection
Любые открытые члены этого типа, объявленные как static (Shared в Visual Basic), являются потокобезопасными. Потокобезопасность членов экземпляров не гарантируется.
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
.NET Framework
Поддерживается в версиях: 3.5, 3.0
Ссылки