語言

EnvironmentInfo 類別

定義

代表環境資訊。

public ref class EnvironmentInfo sealed : Microsoft::SqlServer::Management::Sdk::Sfc::SfcInstance, Microsoft::SqlServer::Management::Common::IAlterable, Microsoft::SqlServer::Management::Common::ICreatable, Microsoft::SqlServer::Management::Common::IDroppable, Microsoft::SqlServer::Management::Common::IRenamable, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcAlterable, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcCreatable, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcDroppable, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcMovable, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcRenamable
[Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.IntegrationServices.LocalizableResources")]
[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))]
public sealed class EnvironmentInfo : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance, Microsoft.SqlServer.Management.Common.IAlterable, Microsoft.SqlServer.Management.Common.ICreatable, Microsoft.SqlServer.Management.Common.IDroppable, Microsoft.SqlServer.Management.Common.IRenamable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcAlterable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcCreatable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDroppable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcMovable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcRenamable
[<Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.IntegrationServices.LocalizableResources")>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.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
Public NotInheritable Class EnvironmentInfo
Inherits SfcInstance
Implements IAlterable, ICreatable, IDroppable, IRenamable, ISfcAlterable, ISfcCreatable, ISfcDroppable, ISfcMovable, ISfcRenamable
繼承
EnvironmentInfo
屬性
實作

建構函式

名稱 Description
EnvironmentInfo(CatalogFolder, String, String)

初始化一個以指定的父、名稱和描述為類別的新 EnvironmentInfo 實例。

屬性

名稱 Description
AbstractIdentityKey

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
Description

取得或設定環境的描述。

EnvironmentId

取得環境識別碼。

IdentityKey

取得身份金鑰。

Metadata

回傳關於實例及其網域的元資料。

(繼承來源 SfcInstance)
Name

取得或設定環境名稱。

Parent

取得或設定父代。

Properties

回傳集合實例屬性。

(繼承來源 SfcInstance)
PropertyStorageProvider

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
State

回傳 SfcInstance 物件的狀態。

(繼承來源 SfcInstance)
Urn

回傳 SfcInstance 物件的統一資源名稱。

(繼承來源 SfcInstance)
Variables

取得環境中的變數。

方法

名稱 Description
Alter()

改變後端伺服器的環境。

AlterImpl()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
CheckObjectCreated()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
CheckObjectState()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
Create()

在後端伺服器建立物件 EnvironmentInfo 。

CreateIdentityKey()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
CreateImpl()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
Deny(PermissionType, String)

拒絕指定使用者的權限。

Discover(ISfcDependencyDiscoveryObjectSink)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
Drop()

移除後端伺服器中的 EnvironmentInfo 物件。

DropImpl()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
GetChildCollection(String)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
GetDomain()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
GetEffectivePermissions()

取得物件的有效權限 EnvironmentInfo 。

GetExplicitPermissions()

取得物件的明確權限 EnvironmentInfo 。

GetExplicitPermissions(String)

取得指定使用者物件的明確權限 EnvironmentInfo 。

GetObjectFactory()

取回工廠以建立新實例。

GetPropertySet()

回傳 SfcInstance 物件的屬性集合。

(繼承來源 SfcInstance)
GetTypeMetadataImpl()

直接回傳正確的 TypeMetadata 類別,表示覆蓋的網域。 請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
Grant(PermissionType, String)

授予指定使用者權限。

InitializeUIPropertyState()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
MarkForDropImpl(Boolean)

回傳一個表示已存在物件要丟棄的值。 請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
MarkRootAsConnected()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
Move(String)

將物件移 EnvironmentInfo 到另一個資料夾的子節點。

MoveImpl(SfcInstance)

表示在實例中要移動的新父物件。 請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs)

每當任何 SfcInstance 元資料的有效值更新時都會被調用。

(繼承來源 SfcInstance)
OnPropertyValueChanges(PropertyChangedEventArgs)

每當任何 SfcInstance 屬性的有效值更新時都會被調用。

(繼承來源 SfcInstance)
PostAlter(Object)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
PostCreate(Object)

表示產生執行結果的預設實作。 請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
PostDrop(Object)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
PostMove(Object)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
PostRename(Object)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
Refresh()

透過從伺服器讀取物件屬性來刷新物件屬性。

(繼承來源 SfcInstance)
Rename(String)

重新命名環境。

RenameImpl(SfcKey)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
ResetKey()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
Revoke(PermissionType, String)

撤銷指定使用者的權限。

ScriptAlter()

表示有劇本可以改變環境。

ScriptCreate()

表示一個用來建立環境的腳本。

ScriptDeny(PermissionType, Int32)

表示拒絕環境許可的腳本。

ScriptDrop()

指示要丟棄環境的腳本。

ScriptGrant(PermissionType, Int32)

表示授權環境的腳本。

ScriptRevoke(PermissionType, Int32)

表示腳本可撤銷對某個環境的許可。

Serialize(XmlWriter)

將實例序列化為 XML。

(繼承來源 SfcInstance)
ToString()

回傳 urn 實例的字串表示。

(繼承來源 SfcInstance)
UpdateUIPropertyState()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
Validate()

表示基本子物件的驗證。 請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)

事件

名稱 Description
propertyChanged

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
PropertyChanged

發生於屬性值變更時。

(繼承來源 SfcInstance)
propertyMetadataChanged

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

當屬性元資料值改變時會發生。

(繼承來源 SfcInstance)
PropertyMetadataChanged

當某個物業的元資料發生變化時。

(繼承來源 SfcInstance)

明確介面實作

名稱 Description
ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)

指定是否要發現子節點,如果他們的 IsCrudActionHandledByParent 為假(預設),則將他們的 CRUD 腳本累積到我的動作腳本。

ISfcMovable.Move(SfcInstance)

將物件移 EnvironmentInfo 到另一個資料夾的子節點。

ISfcMovable.ScriptMove(SfcInstance)

將物件的 EnvironmentInfo 腳本移為另一個資料夾的子節點。

ISfcRenamable.Rename(SfcKey)

重新命名環境。

ISfcRenamable.ScriptRename(SfcKey)

指示重新命名環境的腳本。

適用於