Редактиране

Споделяне чрез


SWbemLocator.Security_ property

The Security_ property of the SWbemLocator object is used to read or set the security settings for an SWbemLocator object. This property is an SWbemSecurity object.

Note

Setting the Security_ property of an SWbemLocator object to NULL grants unlimited access to everyone at all times. For more information, see SWbemSecurity.

For an explanation of this syntax, see Document Conventions for the Scripting API.

This property is read-only.

Syntax

SWbemLocator.Security_ As Object

Property value

Remarks

The properties of an SWbemLocator.Security_ object have no default values. If you attempt to get the value of SWbemSecurity.AuthenticationLevel or SWbemSecurity.ImpersonationLevel on an SWbemLocator object before you have set it, an wbemErrFailed error results.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Wbemdisp.h
Type library
Wbemdisp.tlb
DLL
Wbemdisp.dll
CLSID
CLSID_SWbemLocator
IID
IID_ISWbemLocator

See also

SWbemLocator

Creating a WMI Application or Script

Executing Privileged Operations Using VBScript

Setting Client_Application_Process Security

SWbemSecurity object

Securing a Remote WMI Connection