语言

EnvironmentVariable 类

定义

表示环境变量。

public ref class EnvironmentVariable sealed : Microsoft::SqlServer::Management::Sdk::Sfc::SfcInstance, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcRenamable
public sealed class EnvironmentVariable : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcRenamable
type EnvironmentVariable = class
    inherit SfcInstance
    interface ISfcRenamable
Public NotInheritable Class EnvironmentVariable
Inherits SfcInstance
Implements ISfcRenamable
继承
EnvironmentVariable
实现

属性

名称 说明
AbstractIdentityKey

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
Description

获取或设置环境变量的描述。

IdentityKey

获取标识密钥。

Metadata

返回关于实例及其域的元数据。

(继承自 SfcInstance)
Name

获取或设置环境变量的名称。

Parent

获取或设置父级。

Properties

返回集合实例属性。

(继承自 SfcInstance)
PropertyStorageProvider

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
Sensitive

获取或设置一个值,表示环境变量是否敏感。

State

返回 SfcInstance 对象的状态。

(继承自 SfcInstance)
Type

获取或设置环境变量的数据类型。

Urn

返回 SfcInstance 对象的统一资源名。

(继承自 SfcInstance)
Value

获取或设置环境变量的值。

VariableId

获取变量的标识符。

方法

名称 说明
AlterImpl()

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
CheckObjectCreated()

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
CheckObjectState()

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
CreateIdentityKey()

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
CreateImpl()

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
Discover(ISfcDependencyDiscoveryObjectSink)

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
DropImpl()

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
GetChildCollection(String)

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
GetDomain()

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
GetObjectFactory()

让工厂创建一个新实例。

GetPropertySet()

返回 SfcInstance 对象的属性集合。

(继承自 SfcInstance)
GetTypeMetadataImpl()

通过直接返回正确的TypeMetadata类来表示覆盖的域。 请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
InitializeUIPropertyState()

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
MarkForDropImpl(Boolean)

返回一个表示已存物体的值。 请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
MarkRootAsConnected()

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
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)
ScriptRename(String)

重命名环境变量脚本。

Serialize(XmlWriter)

将实例序列化为 XML。

(继承自 SfcInstance)
ToString()

返回实例Urn的字符串表示。

(继承自 SfcInstance)
UpdateUIPropertyState()

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
Validate()

表示基本子对象的验证。 请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)

活动

名称 说明
propertyChanged

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
PropertyChanged

当属性值更改时发生。

(继承自 SfcInstance)
propertyMetadataChanged

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

当属性元数据值发生变化时,就会发生这种情况。

(继承自 SfcInstance)
PropertyMetadataChanged

当某个属性的元数据发生变化时,就会发生这种情况。

(继承自 SfcInstance)

显式接口实现

名称 说明
ISfcRenamable.Rename(SfcKey)

用新键重命名当前环境变量。

ISfcRenamable.ScriptRename(SfcKey)

用新键重命名当前环境变量脚本。

适用于