EnvironmentInfo.EnvironmentId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the identifier of the environment.
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
Property Value
The identifier of the environment.
- Attributes