Share via


ManagementPackModuleType.RunAs Property

Gets or sets a reference to a secure reference identifier that is defined in this management pack or a referenced management pack. When used, modules of this type 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 ManagementPackModuleType
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.

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

ManagementPackModuleType Class
ManagementPackModuleType Members
Microsoft.EnterpriseManagement.Configuration Namespace