Share via


EnvironmentInfo Class

Represents the information for an environment.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntax

'Declaration
<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
'Usage
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

The EnvironmentInfo type exposes the following members.

Constructors

  Name Description
Public method EnvironmentInfo Initializes a new instance of the EnvironmentInfo class with the specified parent, name and description.

Top

Properties

  Name Description
Protected property AbstractIdentityKey (Inherited from SfcInstance.)
Public property Description Gets or sets the description of the environment.
Public property EnvironmentId Gets the identifier of the environment.
Public property IdentityKey Gets the identity key.
Public property Metadata (Inherited from SfcInstance.)
Public property Name Gets or sets the name of the environment.
Public property Parent Gets or sets the parent.
Public property Properties (Inherited from SfcInstance.)
Protected property State (Inherited from SfcInstance.)
Public property Urn (Inherited from SfcInstance.)
Public property Variables Gets the variables in the environment.

Top

Methods

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

Top

Events

  Name Description
Public event PropertyChanged (Inherited from SfcInstance.)
Public event PropertyMetadataChanged (Inherited from SfcInstance.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ISfcDiscoverObject.Discover Specifies whether to discover children and if their IsCrudActionHandledByParent is false (default), accumulate their CRUD scripts to my action script.
Explicit interface implemetationPrivate method ISfcMovable.Move Moves the EnvironmentInfo object to be a child of another folder.
Explicit interface implemetationPrivate method ISfcRenamable.Rename Renames the environment.
Explicit interface implemetationPrivate method ISfcMovable.ScriptMove Moves the script of the EnvironmentInfo object to be a child of another folder.
Explicit interface implemetationPrivate method ISfcRenamable.ScriptRename Indicates the script to rename the environment.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.IntegrationServices Namespace