共用方式為


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.

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Management.IntegrationServices 命名空間