この型は SecurityCriticalAttribute 属性を持っているため、使用は .NET Framework for Silverlight クラス ライブラリでの内部用に限定されます。アプリケーション コードでこの型の任意のメンバーを使用すると、MethodAccessException 例外がスローされます。
名前空間: Microsoft.TeamFoundation.Common.Internal
アセンブリ: Microsoft.TeamFoundation.Common (Microsoft.TeamFoundation.Common.dll 内)
構文
'宣言
Public Shared Function LsaOpenPolicy ( _
ByRef SystemName As NativeMethods.LSA_UNICODE_STRING, _
ByRef ObjectAttributes As NativeMethods.LSA_OBJECT_ATTRIBUTES, _
DesiredAccess As UInteger, _
<OutAttribute> ByRef PolicyHandle As IntPtr _
) As UInteger
public static uint LsaOpenPolicy(
ref NativeMethods.LSA_UNICODE_STRING SystemName,
ref NativeMethods.LSA_OBJECT_ATTRIBUTES ObjectAttributes,
uint DesiredAccess,
out IntPtr PolicyHandle
)
パラメーター
- ObjectAttributes
型 : Microsoft.TeamFoundation.Common.Internal.NativeMethods.LSA_OBJECT_ATTRIBUTES%
- DesiredAccess
型 : System.UInt32
- PolicyHandle
型 : System.IntPtr%
戻り値
型 : System.UInt32