次の方法で共有


UserOptions クラス

UserOptions オブジェクトは、特にユーザーに関連する、構成可能な一連のサーバー オプションを表します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcElementTypeAttribute("UserOption")> _
Public NotInheritable Class UserOptions _
    Inherits SqlSmoObject _
    Implements IAlterable, IScriptable
'使用
Dim instance As UserOptions
[SfcElementTypeAttribute("UserOption")]
public sealed class UserOptions : SqlSmoObject, 
    IAlterable, IScriptable
[SfcElementTypeAttribute(L"UserOption")]
public ref class UserOptions sealed : public SqlSmoObject, 
    IAlterable, IScriptable
[<SealedAttribute>]
[<SfcElementTypeAttribute("UserOption")>]
type UserOptions =  
    class
        inherit SqlSmoObject
        interface IAlterable
        interface IScriptable
    end
public final class UserOptions extends SqlSmoObject implements IAlterable, IScriptable

説明

UserOptions オブジェクトのプロパティを取得または設定するには、固定サーバー ロール public のメンバでもかまいません。この設定は、現在のユーザーに適用されます。

スレッド セーフ

この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

継承階層

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
    Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
      Microsoft.SqlServer.Management.Smo..::..UserOptions

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。