Freigeben über


ScriptRequirements.RequiresPSSnapIns Property

Definition

The snapins this script requires, specified like: #requires -PSSnapin Snapin#requires -PSSnapin Snapin -Version 2 If no snapins are required, this property is an empty collection.

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Management::Automation::PSSnapInSpecification ^> ^ RequiresPSSnapIns { System::Collections::ObjectModel::ReadOnlyCollection<System::Management::Automation::PSSnapInSpecification ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Management.Automation.PSSnapInSpecification> RequiresPSSnapIns { get; }
member this.RequiresPSSnapIns : System.Collections.ObjectModel.ReadOnlyCollection<System.Management.Automation.PSSnapInSpecification>
Public ReadOnly Property RequiresPSSnapIns As ReadOnlyCollection(Of PSSnapInSpecification)

Property Value

Applies to