DTS Programming
IsNTService Property
The IsNTService property specifies whether the caller is a Microsoft® Windows NT® 4.0 or Microsoft Windows® 2000 Service.
Applies To
SendMailTask Object |
Syntax
object.IsNTService[= value]
Part | Description |
---|---|
object | Expression that evaluates to a SendMailTask object |
value | Boolean that specifies whether the caller is a Windows NT 4.0 and Windows 2000 Service |
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetIsNTService(VARIANT_BOOL *pRetVal);
HRESULT SetIsNTService(VARIANT_BOOL NewValue);
Remarks
The default is FALSE.
Set IsNTService to TRUE only if the program that calls the package Execute method is installed as a Windows NT 4.0 or Windows 2000 Service.