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 命名空间