Delen via


PackageInfo.PackageId Property

Gets the package identifier.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Required Or SfcPropertyFlags.ReadOnlyAfterCreation)> _
<DisplayCategoryKeyAttribute("General")> _
<DisplayNameKeyAttribute("Identifier")> _
<PropertyOrderAttribute()> _
<DisplayDescriptionKeyAttribute("Package_IdentifierDesc")> _
Public ReadOnly Property PackageId As Long 
    Get
'Usage
Dim instance As PackageInfo 
Dim value As Long 

value = instance.PackageId
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Required|SfcPropertyFlags.ReadOnlyAfterCreation)]
[DisplayCategoryKeyAttribute("General")]
[DisplayNameKeyAttribute("Identifier")]
[PropertyOrderAttribute()]
[DisplayDescriptionKeyAttribute("Package_IdentifierDesc")]
public long PackageId { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Required|SfcPropertyFlags::ReadOnlyAfterCreation)]
[DisplayCategoryKeyAttribute(L"General")]
[DisplayNameKeyAttribute(L"Identifier")]
[PropertyOrderAttribute()]
[DisplayDescriptionKeyAttribute(L"Package_IdentifierDesc")]
public:
property long long PackageId {
    long long get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Required|SfcPropertyFlags.ReadOnlyAfterCreation)>]
[<DisplayCategoryKeyAttribute("General")>]
[<DisplayNameKeyAttribute("Identifier")>]
[<PropertyOrderAttribute()>]
[<DisplayDescriptionKeyAttribute("Package_IdentifierDesc")>]
member PackageId : int64
function get PackageId () : long

Property Value

Type: System.Int64
The package identifier.

See Also

Reference

PackageInfo Class

Microsoft.SqlServer.Management.IntegrationServices Namespace