Partager via


ManagementPackModule.RunAs Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets or sets a reference to a secure reference identifier that is defined in this management pack or a referenced management pack. When used, this module will run under the credentials that are assigned to the secure reference.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As ManagementPackModule
Dim value As ManagementPackElementReference(Of ManagementPackSecureReference)

value = instance.RunAs

instance.RunAs = value

Syntax

'Declaration
Public Property RunAs As ManagementPackElementReference(Of ManagementPackSecureReference)
public ManagementPackElementReference<ManagementPackSecureReference> RunAs { get; set; }
public:
property ManagementPackElementReference<ManagementPackSecureReference^>^ RunAs {
    ManagementPackElementReference<ManagementPackSecureReference^>^ get ();
    void set (ManagementPackElementReference<ManagementPackSecureReference^>^ value);
}
/** @property */
public ManagementPackElementReference<ManagementPackSecureReference> get_RunAs ()

/** @property */
public void set_RunAs (ManagementPackElementReference<ManagementPackSecureReference> value)
public function get RunAs () : ManagementPackElementReference<ManagementPackSecureReference>

public function set RunAs (value : ManagementPackElementReference<ManagementPackSecureReference>)

Property Value

A ManagementPackElementReference reference to a ManagementPackSecureReference object.

A reference to a secure reference identifier that is defined in this management pack or a referenced management pack.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackModule Class
ManagementPackModule Members
Microsoft.EnterpriseManagement.Configuration Namespace