다음을 통해 공유


Application.Generator Property

Gets or sets the Generator for the application.

네임스페이스: Microsoft.SqlServer.Management.Nmo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

구문

‘선언
Public Property Generator As Generator
public Generator Generator { get; set; }
public:
property Generator^ Generator {
    Generator^ get ();
    void set (Generator^ value);
}
/** @property */
public Generator get_Generator ()

/** @property */
public void set_Generator (Generator value)
public function get Generator () : Generator

public function set Generator (value : Generator)

속성 값

A Generator object, which is the generator for the application.

주의

Each application has only one generator, which governs rule processing for a notification application.

The following example shows how to define the application's generator:

// Define generator for application
Generator generator = new Generator(myApplication, "Generator");
generator.SystemName = notificationServicesHost;
generator.ThreadPoolSize = 0;
myApplication.Generator = generator;
' Define generator for application
Dim generator As Generator = New Generator( _
    myApplication, "Generator")
generator.SystemName = notificationServicesHost
generator.ThreadPoolSize = 0
myApplication.Generator = generator

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

Application Class
Application Members
Microsoft.SqlServer.Management.Nmo Namespace

관련 자료

생성자 설정 지정
Generator Element (ADF)