共用方式為


EnvironmentVariable 類別

Represents the variable for an environment.

繼承階層

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

命名空間:  Microsoft.SqlServer.Management.IntegrationServices
組件:  Microsoft.SqlServer.Management.IntegrationServices (在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)

語法

'宣告
Public NotInheritable Class EnvironmentVariable _
    Inherits SfcInstance _
    Implements ISfcRenamable
'用途
Dim instance As EnvironmentVariable
public sealed class EnvironmentVariable : SfcInstance, 
    ISfcRenamable
public ref class EnvironmentVariable sealed : public SfcInstance, 
    ISfcRenamable
[<SealedAttribute>]
type EnvironmentVariable =  
    class 
        inherit SfcInstance 
        interface ISfcRenamable 
    end
public final class EnvironmentVariable extends SfcInstance implements ISfcRenamable

EnvironmentVariable 型別公開下列成員。

屬性

  名稱 說明
受保護的屬性 AbstractIdentityKey (繼承自 SfcInstance。)
公用屬性 Description Gets or sets the description of the environment variable.
公用屬性 IdentityKey Gets the identity key.
公用屬性 Metadata (繼承自 SfcInstance。)
公用屬性 Name Gets or sets the name of the environment variable.
公用屬性 Parent Gets or sets the parent.
公用屬性 Properties (繼承自 SfcInstance。)
公用屬性 Sensitive Gets or sets a value that indicates whether the environment variable is sensitive.
受保護的屬性 State (繼承自 SfcInstance。)
公用屬性 Type Gets or sets the data type of the environment variable.
公用屬性 Urn (繼承自 SfcInstance。)
公用屬性 Value Gets or sets the value of the environment variable.
公用屬性 VariableId Gets the identifier of the variable.

上層

方法

  名稱 說明
受保護的方法 CreateIdentityKey (繼承自 SfcInstance。)
公用方法 Discover (繼承自 SfcInstance。)
公用方法 Equals (繼承自 Object。)
受保護的方法 GetChildCollection (繼承自 SfcInstance。)
公用方法 GetDomain (繼承自 SfcInstance。)
公用方法 GetHashCode (繼承自 Object。)
公用方法靜態成員 GetObjectFactory Gets the factory to create a new instance.
公用方法 GetPropertySet (繼承自 SfcInstance。)
公用方法 GetType (繼承自 Object。)
受保護的方法 GetTypeMetadataImpl (繼承自 SfcInstance。)
受保護的方法 InitializeUIPropertyState (繼承自 SfcInstance。)
受保護的方法 OnPropertyMetadataChanges (繼承自 SfcInstance。)
受保護的方法 OnPropertyValueChanges (繼承自 SfcInstance。)
公用方法 Refresh (繼承自 SfcInstance。)
公用方法 Rename Renames the environment variable.
受保護的方法 ResetKey (繼承自 SfcInstance。)
公用方法 ScriptRename Renames the environment variable script.
公用方法 Serialize (繼承自 SfcInstance。)
公用方法 ToString (繼承自 SfcInstance。)

上層

事件

  名稱 說明
公用事件 PropertyChanged (繼承自 SfcInstance。)
公用事件 PropertyMetadataChanged (繼承自 SfcInstance。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 ISfcRenamable.Rename Renames the current environment variable with a new key.
明確介面實作私用方法 ISfcRenamable.ScriptRename Renames the current environment variable script with a new key.

上層

執行緒安全性

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

請參閱

參考

Microsoft.SqlServer.Management.IntegrationServices 命名空間