Класс EnvironmentInfo

Represents the information for an environment.

Иерархия наследования

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
    Microsoft.SqlServer.Management.IntegrationServices.EnvironmentInfo

Пространство имен:  Microsoft.SqlServer.Management.IntegrationServices
Сборка:  Microsoft.SqlServer.Management.IntegrationServices (в Microsoft.SqlServer.Management.IntegrationServices.dll)

Синтаксис

'Декларация
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.IntegrationServices.LocalizableResources")> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public NotInheritable Class EnvironmentInfo _
    Inherits SfcInstance _
    Implements ISfcCreatable, ICreatable, ISfcAlterable, IAlterable,  _
    IRenamable, ISfcRenamable, ISfcDiscoverObject, ISfcDroppable, IDroppable,  _
    ISfcMovable
'Применение
Dim instance As EnvironmentInfo
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.IntegrationServices.LocalizableResources")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public sealed class EnvironmentInfo : SfcInstance, 
    ISfcCreatable, ICreatable, ISfcAlterable, IAlterable, IRenamable, 
    ISfcRenamable, ISfcDiscoverObject, ISfcDroppable, IDroppable, ISfcMovable
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.IntegrationServices.LocalizableResources")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public ref class EnvironmentInfo sealed : public SfcInstance, 
    ISfcCreatable, ICreatable, ISfcAlterable, IAlterable, IRenamable, 
    ISfcRenamable, ISfcDiscoverObject, ISfcDroppable, IDroppable, ISfcMovable
[<SealedAttribute>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.IntegrationServices.LocalizableResources")>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
type EnvironmentInfo =  
    class 
        inherit SfcInstance 
        interface ISfcCreatable 
        interface ICreatable 
        interface ISfcAlterable 
        interface IAlterable 
        interface IRenamable 
        interface ISfcRenamable 
        interface ISfcDiscoverObject 
        interface ISfcDroppable 
        interface IDroppable 
        interface ISfcMovable 
    end
public final class EnvironmentInfo extends SfcInstance implements ISfcCreatable, ICreatable, ISfcAlterable, IAlterable, IRenamable, ISfcRenamable, ISfcDiscoverObject, ISfcDroppable, IDroppable, ISfcMovable

Тип EnvironmentInfo обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод EnvironmentInfo Initializes a new instance of the EnvironmentInfo class with the specified parent, name and description.

В начало

Свойства

  Имя Описание
Защищенное свойство AbstractIdentityKey (Производный от SfcInstance.)
Открытое свойство Description Gets or sets the description of the environment.
Открытое свойство EnvironmentId Gets the identifier of the environment.
Открытое свойство IdentityKey Gets the identity key.
Открытое свойство Metadata (Производный от SfcInstance.)
Открытое свойство Name Gets or sets the name of the environment.
Открытое свойство Parent Gets or sets the parent.
Открытое свойство Properties (Производный от SfcInstance.)
Защищенное свойство State (Производный от SfcInstance.)
Открытое свойство Urn (Производный от SfcInstance.)
Открытое свойство Variables Gets the variables in the environment.

В начало

Методы

  Имя Описание
Открытый метод Alter Alters the environment in the back-end server.
Открытый метод Create Creates the EnvironmentInfo object in the back-end server.
Защищенный метод CreateIdentityKey (Производный от SfcInstance.)
Открытый метод Deny Denies the permission to a specified user.
Открытый метод Discover (Производный от SfcInstance.)
Открытый метод Drop Removes the EnvironmentInfo object in the back-end server.
Открытый метод Equals (Производный от Object.)
Защищенный метод GetChildCollection (Производный от SfcInstance.)
Открытый метод GetDomain (Производный от SfcInstance.)
Открытый метод GetEffectivePermissions Retrieves the effective permissions of the EnvironmentInfo object.
Открытый метод GetExplicitPermissions() Retrieves the explicit permissions of the EnvironmentInfo object.
Открытый метод GetExplicitPermissions(String) Retrieves the explicit permissions of the EnvironmentInfo object for a specified user.
Открытый метод GetHashCode (Производный от Object.)
Открытый методСтатический элемент GetObjectFactory Retrieves the factory to create a new instance.
Открытый метод GetPropertySet (Производный от SfcInstance.)
Открытый метод GetType (Производный от Object.)
Защищенный метод GetTypeMetadataImpl (Производный от SfcInstance.)
Открытый метод Grant Grants the permission to a specified user.
Защищенный метод InitializeUIPropertyState (Производный от SfcInstance.)
Открытый метод Move Moves the EnvironmentInfo object to be a child of another folder.
Защищенный метод OnPropertyMetadataChanges (Производный от SfcInstance.)
Защищенный метод OnPropertyValueChanges (Производный от SfcInstance.)
Открытый метод Refresh (Производный от SfcInstance.)
Открытый метод Rename Renames the environment.
Защищенный метод ResetKey (Производный от SfcInstance.)
Открытый метод Revoke Revokes the permission to a specified user.
Открытый метод ScriptAlter Indicates a script to alter the environment.
Открытый метод ScriptCreate Indicates a script to create the environment.
Открытый метод ScriptDeny Indicates the script to deny the permission to an environment.
Открытый метод ScriptDrop Indicates the script to drop the environment.
Открытый метод ScriptGrant Indicates the script to grant the permission to an environment.
Открытый метод ScriptRevoke Indicates the script to revoke the permission to an environment.
Открытый метод Serialize (Производный от SfcInstance.)
Открытый метод ToString (Производный от SfcInstance.)

В начало

События

  Имя Описание
Открытое событие PropertyChanged (Производный от SfcInstance.)
Открытое событие PropertyMetadataChanged (Производный от SfcInstance.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод ISfcDiscoverObject.Discover Specifies whether to discover children and if their IsCrudActionHandledByParent is false (default), accumulate their CRUD scripts to my action script.
Явная реализация интерфейсаЗакрытый метод ISfcMovable.Move Moves the EnvironmentInfo object to be a child of another folder.
Явная реализация интерфейсаЗакрытый метод ISfcRenamable.Rename Renames the environment.
Явная реализация интерфейсаЗакрытый метод ISfcMovable.ScriptMove Moves the script of the EnvironmentInfo object to be a child of another folder.
Явная реализация интерфейсаЗакрытый метод ISfcRenamable.ScriptRename Indicates the script to rename the environment.

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.IntegrationServices