Generator Class
Represents the application's generator.
네임스페이스: Microsoft.SqlServer.Management.Nmo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
구문
‘선언
Public NotInheritable Class Generator
Inherits NamedSmoObject
public sealed class Generator : NamedSmoObject
public ref class Generator sealed : public NamedSmoObject
public final class Generator extends NamedSmoObject
public final class Generator extends NamedSmoObject
주의
Each application has one generator.
Settings for the generator determine which computer runs the generator and how many threads the generator can use when processing application rules. The values you specify for the generator settings should be considered in terms of a trade-off between improving application performance and monopolizing system resources.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.SmoObjectBase
Microsoft.SqlServer.Management.Smo.SqlSmoObject
Microsoft.SqlServer.Management.Smo.NamedSmoObject
Microsoft.SqlServer.Management.Nmo.Generator
예
The following examples show how to define a generator and add it to an application:
// 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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
Generator Members
Microsoft.SqlServer.Management.Nmo Namespace