Partager via


Classe EnvironmentInfo

Represents the information for an environment.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.IntegrationServices
Assembly :  Microsoft.SqlServer.Management.IntegrationServices (en Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntaxe

'Déclaration
<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
'Utilisation
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

Le type EnvironmentInfo expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique EnvironmentInfo Initializes a new instance of the EnvironmentInfo class with the specified parent, name and description.

Haut de la page

Propriétés

  Nom Description
Propriété protégée AbstractIdentityKey (hérité de SfcInstance.)
Propriété publique Description Gets or sets the description of the environment.
Propriété publique EnvironmentId Gets the identifier of the environment.
Propriété publique IdentityKey Gets the identity key.
Propriété publique Metadata (hérité de SfcInstance.)
Propriété publique Name Gets or sets the name of the environment.
Propriété publique Parent Gets or sets the parent.
Propriété publique Properties (hérité de SfcInstance.)
Propriété protégée State (hérité de SfcInstance.)
Propriété publique Urn (hérité de SfcInstance.)
Propriété publique Variables Gets the variables in the environment.

Haut de la page

Méthodes

  Nom Description
Méthode publique Alter Alters the environment in the back-end server.
Méthode publique Create Creates the EnvironmentInfo object in the back-end server.
Méthode protégée CreateIdentityKey (hérité de SfcInstance.)
Méthode publique Deny Denies the permission to a specified user.
Méthode publique Discover (hérité de SfcInstance.)
Méthode publique Drop Removes the EnvironmentInfo object in the back-end server.
Méthode publique Equals (hérité de Object.)
Méthode protégée GetChildCollection (hérité de SfcInstance.)
Méthode publique GetDomain (hérité de SfcInstance.)
Méthode publique GetEffectivePermissions Retrieves the effective permissions of the EnvironmentInfo object.
Méthode publique GetExplicitPermissions() Retrieves the explicit permissions of the EnvironmentInfo object.
Méthode publique GetExplicitPermissions(String) Retrieves the explicit permissions of the EnvironmentInfo object for a specified user.
Méthode publique GetHashCode (hérité de Object.)
Méthode publiqueMembre statique GetObjectFactory Retrieves the factory to create a new instance.
Méthode publique GetPropertySet (hérité de SfcInstance.)
Méthode publique GetType (hérité de Object.)
Méthode protégée GetTypeMetadataImpl (hérité de SfcInstance.)
Méthode publique Grant Grants the permission to a specified user.
Méthode protégée InitializeUIPropertyState (hérité de SfcInstance.)
Méthode publique Move Moves the EnvironmentInfo object to be a child of another folder.
Méthode protégée OnPropertyMetadataChanges (hérité de SfcInstance.)
Méthode protégée OnPropertyValueChanges (hérité de SfcInstance.)
Méthode publique Refresh (hérité de SfcInstance.)
Méthode publique Rename Renames the environment.
Méthode protégée ResetKey (hérité de SfcInstance.)
Méthode publique Revoke Revokes the permission to a specified user.
Méthode publique ScriptAlter Indicates a script to alter the environment.
Méthode publique ScriptCreate Indicates a script to create the environment.
Méthode publique ScriptDeny Indicates the script to deny the permission to an environment.
Méthode publique ScriptDrop Indicates the script to drop the environment.
Méthode publique ScriptGrant Indicates the script to grant the permission to an environment.
Méthode publique ScriptRevoke Indicates the script to revoke the permission to an environment.
Méthode publique Serialize (hérité de SfcInstance.)
Méthode publique ToString (hérité de SfcInstance.)

Haut de la page

Événements

  Nom Description
Événement public PropertyChanged (hérité de SfcInstance.)
Événement public PropertyMetadataChanged (hérité de SfcInstance.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée ISfcDiscoverObject.Discover Specifies whether to discover children and if their IsCrudActionHandledByParent is false (default), accumulate their CRUD scripts to my action script.
Implémentation d'interface expliciteMéthode privée ISfcMovable.Move Moves the EnvironmentInfo object to be a child of another folder.
Implémentation d'interface expliciteMéthode privée ISfcRenamable.Rename Renames the environment.
Implémentation d'interface expliciteMéthode privée ISfcMovable.ScriptMove Moves the script of the EnvironmentInfo object to be a child of another folder.
Implémentation d'interface expliciteMéthode privée ISfcRenamable.ScriptRename Indicates the script to rename the environment.

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.IntegrationServices