Compartilhar via


JobDefinition.Credentials Property

Gets the user credentials for the job, if any.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As JobDefinition
Dim value As JobCredentials

value = instance.Credentials

Syntax

'Declaration
Public ReadOnly Property Credentials As JobCredentials
public JobCredentials Credentials { get; }
public:
property JobCredentials^ Credentials {
    JobCredentials^ get ();
}
/** @property */
public JobCredentials get_Credentials ()
public function get Credentials () : JobCredentials

Property Value

Returns the JobCredentials associated with this JobDefinition. May be null.

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

JobDefinition Class
JobDefinition Members
Microsoft.EnterpriseManagement.Common Namespace