Compartilhar via


EnvironmentInfo.EnvironmentId Propriedade

Definição

Obtém o identificador do ambiente.

public:
 property long EnvironmentId { long get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayCategoryKey("General")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("Environment_IdentifierDesc")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("Identifier")]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.ReadOnlyAfterCreation | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Required)]
[Microsoft.SqlServer.Management.Sdk.Sfc.PropertyOrder(1)]
[System.ComponentModel.ReadOnly(true)]
public long EnvironmentId { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayCategoryKey("General")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("Environment_IdentifierDesc")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("Identifier")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.ReadOnlyAfterCreation | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Required)>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.PropertyOrder(1)>]
[<System.ComponentModel.ReadOnly(true)>]
member this.EnvironmentId : int64
Public ReadOnly Property EnvironmentId As Long

Valor da propriedade

O identificador do ambiente.

Atributos

Aplica-se a